Bones/node_modules/rxjs/observable/PromiseObservable.d.ts
SOUTHERNCO\x2mjbyrn 7efe7605b8 Template Upload
2017-05-17 13:45:25 -04:00

13 lines
534 B
TypeScript

import { Scheduler } from '../Scheduler';
import { Observable } from '../Observable';
import { Subscriber } from '../Subscriber';
import { Subscription } from '../Subscription';
export declare class PromiseObservable<T> extends Observable<T> {
private promise;
scheduler: Scheduler;
value: T;
static create<T>(promise: Promise<T>, scheduler?: Scheduler): Observable<T>;
constructor(promise: Promise<T>, scheduler?: Scheduler);
protected _subscribe(subscriber: Subscriber<T>): Subscription | Function | void;
}