UI for Zipcoin Blue

BoundNodeCallbackObservable.d.ts 2.4KB

123456789101112131415161718192021222324252627282930
  1. import { Observable } from '../Observable';
  2. import { Subscriber } from '../Subscriber';
  3. import { Subscription } from '../Subscription';
  4. import { IScheduler } from '../Scheduler';
  5. import { AsyncSubject } from '../AsyncSubject';
  6. /**
  7. * We need this JSDoc comment for affecting ESDoc.
  8. * @extends {Ignored}
  9. * @hide true
  10. */
  11. export declare class BoundNodeCallbackObservable<T> extends Observable<T> {
  12. private callbackFunc;
  13. private selector;
  14. private args;
  15. private context;
  16. scheduler: IScheduler;
  17. subject: AsyncSubject<T>;
  18. static create<R>(callbackFunc: (callback: (err: any, result: R) => any) => any, selector?: void, scheduler?: IScheduler): () => Observable<R>;
  19. static create<T, R>(callbackFunc: (v1: T, callback: (err: any, result: R) => any) => any, selector?: void, scheduler?: IScheduler): (v1: T) => Observable<R>;
  20. static create<T, T2, R>(callbackFunc: (v1: T, v2: T2, callback: (err: any, result: R) => any) => any, selector?: void, scheduler?: IScheduler): (v1: T, v2: T2) => Observable<R>;
  21. static create<T, T2, T3, R>(callbackFunc: (v1: T, v2: T2, v3: T3, callback: (err: any, result: R) => any) => any, selector?: void, scheduler?: IScheduler): (v1: T, v2: T2, v3: T3) => Observable<R>;
  22. static create<T, T2, T3, T4, R>(callbackFunc: (v1: T, v2: T2, v3: T3, v4: T4, callback: (err: any, result: R) => any) => any, selector?: void, scheduler?: IScheduler): (v1: T, v2: T2, v3: T3, v4: T4) => Observable<R>;
  23. static create<T, T2, T3, T4, T5, R>(callbackFunc: (v1: T, v2: T2, v3: T3, v4: T4, v5: T5, callback: (err: any, result: R) => any) => any, selector?: void, scheduler?: IScheduler): (v1: T, v2: T2, v3: T3, v4: T4, v5: T5) => Observable<R>;
  24. static create<T, T2, T3, T4, T5, T6, R>(callbackFunc: (v1: T, v2: T2, v3: T3, v4: T4, v5: T5, v6: T6, callback: (err: any, result: R) => any) => any, selector?: void, scheduler?: IScheduler): (v1: T, v2: T2, v3: T3, v4: T4, v5: T5, v6: T6) => Observable<R>;
  25. static create<T>(callbackFunc: Function, selector?: void, scheduler?: IScheduler): (...args: any[]) => Observable<T>;
  26. static create<T>(callbackFunc: Function, selector?: (...args: any[]) => T, scheduler?: IScheduler): (...args: any[]) => Observable<T>;
  27. constructor(callbackFunc: Function, selector: Function, args: any[], context: any, scheduler: IScheduler);
  28. /** @deprecated internal use only */ _subscribe(subscriber: Subscriber<T | T[]>): Subscription;
  29. }