Type Alias CombineLatestOptions

CombineLatestOptions: {
    disposeSources: boolean;
    emitInitial: boolean;
    onSourceDone: "allow" | "break";
}

Type declaration

  • disposeSources: boolean

    If true, disposes all the merged sources when the merged reactive closes. Default: true.

  • emitInitial: boolean

    If true (default), emits a value when initialised.

  • onSourceDone: "allow" | "break"

    How to handle when a source ends.

    • 'allow': continue combined stream, last value for done stream will kept
    • 'break': stop combined stream

    Default: 'break'