UNPKG

@thi.ng/rstream

Version:

Reactive streams & subscription primitives for constructing dataflow graphs / pipelines

9 lines 346 B
import type { CloseMode, ISubscribable } from "./api.js"; export declare const isSubscribable: (x: any) => x is ISubscribable<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