Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of about 10,000 for from (0.24 sec)

  1. src/internal/observable/from.ts

    import { ObservableInput, SchedulerLike, ObservedValueOf } from '../types';
    import { scheduled } from '../scheduled/scheduled';
    import { innerFrom } from './innerFrom';
    
    export function from<O extends ObservableInput<any>>(input: O): Observable<ObservedValueOf<O>>;
    /** @deprecated The `scheduler` parameter will be removed in v8. Use `scheduled`. Details: https://rxjs.dev/deprecations/scheduler-argument */
    Plain Text
    - Registered: 2022-08-14 20:54
    - Last Modified: 2022-01-04 15:07
    - 2.9K bytes
    - Viewed (0)
  2. docs_app/src/assets/images/marble-diagrams/from.png

    from.png...
    PNG Image
    - Registered: 2022-08-14 20:54
    - Last Modified: 2019-11-01 01:30
    - 27.8K bytes
    - Viewed (0)
  3. data_structures/linked_list/from_sequence.py

        """Creates a Linked List from the elements of the given sequence
        (list/tuple) and returns the head of the Linked List."""
    
        # if elements_list is empty
        if not elements_list:
            raise Exception("The Elements List is empty")
    
        # Set first element as Head
        head = Node(elements_list[0])
        current = head
        # Loop through elements from position 1
        for data in elements_list[1:]:
    Python
    - Registered: 2022-08-11 19:18
    - Last Modified: 2019-11-14 18:59
    - 1.2K bytes
    - Viewed (0)
  4. spec/observables/from-spec.ts

    /** @prettier */
    import { expect } from 'chai';
    import { TestScheduler } from 'rxjs/testing';
    import { asyncScheduler, of, from, Observer, observable, Subject, noop, Subscription } from 'rxjs';
    import { first, concatMap, delay, take, tap } from 'rxjs/operators';
    import { ReadableStream } from 'web-streams-polyfill';
    import { observableMatcher } from '../helpers/observableMatcher';
    
    function getArguments<T>(...args: T[]) {
      return arguments;
    }
    
    Plain Text
    - Registered: 2022-08-14 20:54
    - Last Modified: 2022-03-28 13:11
    - 10.9K bytes
    - Viewed (0)
  5. benchmark/buffers/buffer-from.js

          const array = new Array(len).fill(42);
          bench.start();
          for (i = 0; i < n; i++) {
            Buffer.from(array);
          }
          bench.end(n);
          break;
        }
        case 'arraybuffer': {
          const arrayBuf = new ArrayBuffer(len);
          bench.start();
          for (i = 0; i < n; i++) {
            Buffer.from(arrayBuf);
          }
          bench.end(n);
          break;
        }
        case 'arraybuffer-middle': {
    JavaScript
    - Registered: 2022-08-09 21:40
    - Last Modified: 2020-02-09 02:40
    - 2.5K bytes
    - Viewed (0)
  6. spec-dtslint/observables/from-spec.ts

    import { from, of, animationFrameScheduler, ReadableStreamLike } from 'rxjs';
    
    it('should accept an array', () => {
      const o = from([1, 2, 3, 4]); // $ExpectType Observable<number>
    });
    
    it('should accept a Promise', () => {
      const o = from(Promise.resolve('test')); // $ExpectType Observable<string>
    });
    
    it('should accept an Iterable', () => {
      const iterable = (function*() {
        yield 42;
      }());
    
    Plain Text
    - Registered: 2022-08-14 20:54
    - Last Modified: 2021-03-25 14:40
    - 2.2K bytes
    - Viewed (0)
  7. benchmark/streams/readable-from.js

    const bench = common.createBenchmark(main, {
      n: [1e7],
    });
    
    async function main({ n }) {
      const arr = [];
      for (let i = 0; i < n; i++) {
        arr.push(`${i}`);
      }
    
      const s = new Readable.from(arr);
    
      bench.start();
      s.on('data', (data) => {
        // eslint-disable-next-line no-unused-expressions
        data;
      });
      s.on('close', () => {
        bench.end(n);
      });
    JavaScript
    - Registered: 2022-08-09 21:40
    - Last Modified: 2021-03-22 09:19
    - 467 bytes
    - Viewed (0)
  8. docs/_includes/test/from-to.html

            Modern CSS framework based on <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Basic_Concepts_of_Flexbox">Flexbox</a>
          </p>
          <div class="field">
            <label class="label">Form label</label>
            <div class="control">
              <input class="input" type="text" placeholder="Input">
            </div>
          </div>
          <div class="field">
            <p class="control">
    HTML
    - Registered: 2022-08-09 09:01
    - Last Modified: 2018-04-10 13:28
    - 908 bytes
    - Viewed (0)
  9. spec/observables/from-promise-spec.ts

    import { expect } from 'chai';
    import * as sinon from 'sinon';
    import { asapScheduler, from } from 'rxjs';
    
    declare const process: any;
    
    /** @test {fromPromise} */
    describe('from (fromPromise)', () => {
      it('should emit one value from a resolved promise', (done) => {
        const promise = Promise.resolve(42);
        from(promise)
          .subscribe(
            { next: (x) => { expect(x).to.equal(42); }, error: (x) => {
    Plain Text
    - Registered: 2022-08-14 20:54
    - Last Modified: 2022-01-11 00:48
    - 4.7K bytes
    - Viewed (0)
  10. packages/pug-linker/test/cases-src/auxiliary/extends-from-root.pug

    extends /auxiliary/layout.pug
    
    block content
    Plain Text
    - Registered: 2022-08-09 23:35
    - Last Modified: 2017-01-23 01:51
    - 90 bytes
    - Viewed (0)
Back to top