15 lines
620 B
TypeScript
15 lines
620 B
TypeScript
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;
|
|
}
|