Bones/node_modules/rxjs/observable/ArrayObservable.d.ts

15 lines
620 B
TypeScript
Raw Normal View History

2017-05-17 13:45:25 -04:00
import { Scheduler } from '../Scheduler';
import { Observable } from '../Observable';
import { Subscriber } from '../Subscriber';
import { Subscription } from '../Subscription';
export declare class ArrayObservable<T> extends Observable<T> {
array: T[];
scheduler: Scheduler;
static create<T>(array: T[], scheduler?: Scheduler): ArrayObservable<T>;
static of<T>(...array: Array<T | Scheduler>): Observable<T>;
static dispatch(state: any): void;
value: any;
constructor(array: T[], scheduler?: Scheduler);
protected _subscribe(subscriber: Subscriber<T>): Subscription | Function | void;
}