Type alias Delayed<P, T, F>
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"]>; } : {})