ixfx
    Preparing search index...

    Type Alias UpstreamOptions<In>

    type UpstreamOptions<In> = {
        debugLabel: string;
        disposeIfSourceDone: boolean;
        lazy: Lazy;
        onDispose: (reason: string) => void;
        onStart: () => void;
        onStop: () => void;
        onValue: (v: In) => void;
    }

    Type Parameters

    • In
    Index

    Properties

    debugLabel: string
    disposeIfSourceDone: boolean

    If true (default), we dispose the underlying stream if the upstream closes. This happens after onStop() is called.

    lazy: Lazy
    onDispose: (reason: string) => void
    onStart: () => void

    Called just before we subscribe to source

    Type declaration

      • (): void
      • Returns void

    onStop: () => void

    Called after we unsubscribe from source

    Type declaration

      • (): void
      • Returns void

    onValue: (v: In) => void