UNPKG

@cloudpss/ubrpc

Version:

6 lines 327 B
import type { Subscriber } from 'rxjs'; /** Promise callbacks */ export type PromiseCallbacks<T = unknown> = [resolve: (value: T) => void, reject: (reason?: unknown) => void]; /** Observable status */ export type ObservableStatus<T = unknown> = [subscriber: Subscriber<T>, end: boolean]; //# sourceMappingURL=callbacks.d.ts.map