UNPKG

rxjs

Version:

Reactive Extensions for modern JavaScript

5 lines 601 B
import { Observable } from '../Observable'; import { SchedulerLike } from '../types'; export declare function bindNodeCallback(callbackFunc: (...args: any[]) => void, resultSelector: (...args: any[]) => any, scheduler?: SchedulerLike): (...args: any[]) => Observable<any>; export declare function bindNodeCallback<A extends readonly unknown[], R extends readonly unknown[]>(callbackFunc: (...args: [...A, (err: any, ...res: R) => void]) => void, schedulerLike?: SchedulerLike): (...arg: A) => Observable<R extends [] ? void : R extends [any] ? R[0] : R>; //# sourceMappingURL=bindNodeCallback.d.ts.map