Delayed<P, T, F>: {
    first: MakeDelayedPromise<Stream<P, T, F>["first"]>;
    on: MakeDelayedPromise<Stream<P, T, F>["on"]>;
} & (F extends true ? {
    fold: MakeDelayedPromise<Stream<P, T, F>["fold"]>;
    finished: MakeDelayedPromise<Stream<P, T, F>["finished"]>;
} : {})

Type Parameters

  • P

  • T

  • F extends boolean