UNPKG

@thi.ng/rstream

Version:

Reactive streams & subscription primitives for constructing dataflow graphs / pipelines

11 lines 527 B
import type { CloseMode, ISubscribable, ISubscriber, ISubscription } from "./api.js"; export declare const isSubscriber: (x: any) => x is ISubscriber<any>; export declare const isSubscribable: (x: any) => x is ISubscribable<any>; export declare const isSubscriptionLike: (x: any) => x is ISubscription<any, any>; /** * Returns true if mode is FIRST, or if mode is LAST *and* `num = 0`. * * @internal */ export declare const isFirstOrLastInput: (mode: CloseMode, num: number) => boolean; //# sourceMappingURL=checks.d.ts.map