Type Alias UpstreamOptions<In>
UpstreamOptions<In>: { debugLabel: string; disposeIfSourceDone: boolean; lazy: Lazy; onDispose: ((reason: string) => void); onStart: (() => void); onStop: (() => void); onValue: ((v: In) => void); } Type declaration
debugLabel: string
disposeIfSourceDone: boolean
onDispose: ((reason: string) => void)
- (reason): void
Returns void
onStart: (() => void)
onStop: (() => void)
onValue: ((v: In) => void)
If true (default), we dispose the underlying stream if the upstream closes. This happens after onStop() is called.