Sha256: 5d4dcb014917ddc13d7b50ba47599f13c4c57f4a8c4daefe273945960ad43476

Contents?: true

Size: 1.91 KB

Versions: 49

Compression:

Stored size: 1.91 KB

Contents

import { IScheduler } from '../Scheduler';
import { Observable } from '../Observable';
import { TeardownLogic } from '../Subscription';
import { Subscriber } from '../Subscriber';
/**
 * We need this JSDoc comment for affecting ESDoc.
 * @extends {Ignored}
 * @hide true
 */
export declare class RangeObservable extends Observable<number> {
    /**
     * Creates an Observable that emits a sequence of numbers within a specified
     * range.
     *
     * <span class="informal">Emits a sequence of numbers in a range.</span>
     *
     * <img src="./img/range.png" width="100%">
     *
     * `range` operator emits a range of sequential integers, in order, where you
     * select the `start` of the range and its `length`. By default, uses no
     * IScheduler and just delivers the notifications synchronously, but may use
     * an optional IScheduler to regulate those deliveries.
     *
     * @example <caption>Emits the numbers 1 to 10</caption>
     * var numbers = Rx.Observable.range(1, 10);
     * numbers.subscribe(x => console.log(x));
     *
     * @see {@link timer}
     * @see {@link interval}
     *
     * @param {number} [start=0] The value of the first integer in the sequence.
     * @param {number} [count=0] The number of sequential integers to generate.
     * @param {Scheduler} [scheduler] A {@link IScheduler} to use for scheduling
     * the emissions of the notifications.
     * @return {Observable} An Observable of numbers that emits a finite range of
     * sequential integers.
     * @static true
     * @name range
     * @owner Observable
     */
    static create(start?: number, count?: number, scheduler?: IScheduler): Observable<number>;
    static dispatch(state: any): void;
    private start;
    private _count;
    private scheduler;
    constructor(start: number, count: number, scheduler?: IScheduler);
    /** @deprecated internal use only */ _subscribe(subscriber: Subscriber<number>): TeardownLogic;
}

Version data entries

49 entries across 49 versions & 4 rubygems

Version Path
ilog-0.4.1 node_modules/rxjs/observable/RangeObservable.d.ts
ilog-0.4.0 node_modules/rxjs/observable/RangeObservable.d.ts
ilog-0.3.3 node_modules/rxjs/observable/RangeObservable.d.ts
govuk_publishing_components-18.0.0 node_modules/rxjs/observable/RangeObservable.d.ts
govuk_publishing_components-17.21.0 node_modules/rxjs/observable/RangeObservable.d.ts
govuk_publishing_components-17.20.0 node_modules/rxjs/observable/RangeObservable.d.ts
govuk_publishing_components-17.19.1 node_modules/rxjs/observable/RangeObservable.d.ts
govuk_publishing_components-17.19.0 node_modules/rxjs/observable/RangeObservable.d.ts
govuk_publishing_components-17.18.0 node_modules/rxjs/observable/RangeObservable.d.ts
govuk_publishing_components-17.17.0 node_modules/rxjs/observable/RangeObservable.d.ts
govuk_publishing_components-17.16.0 node_modules/rxjs/observable/RangeObservable.d.ts
govuk_publishing_components-17.15.0 node_modules/rxjs/observable/RangeObservable.d.ts
govuk_publishing_components-17.14.0 node_modules/rxjs/observable/RangeObservable.d.ts
govuk_publishing_components-17.13.0 node_modules/rxjs/observable/RangeObservable.d.ts
govuk_publishing_components-17.12.2 node_modules/rxjs/observable/RangeObservable.d.ts
govuk_publishing_components-17.12.1 node_modules/rxjs/observable/RangeObservable.d.ts
govuk_publishing_components-17.12.0 node_modules/rxjs/observable/RangeObservable.d.ts
govuk_publishing_components-17.11.0 node_modules/rxjs/observable/RangeObservable.d.ts
govuk_publishing_components-17.10.0 node_modules/rxjs/observable/RangeObservable.d.ts
govuk_publishing_components-17.9.0 node_modules/rxjs/observable/RangeObservable.d.ts