Applesauce
    Preparing search index...

    Function timeoutWithIgnore

    • Like RxJS timeout, but only for emissions that are not ignored.

      Values that match config.ignore are forwarded immediately and do not affect timeout state (first/each). Timeout timing only observes non-ignored values.

      Example usage:

      source$.pipe( timeoutWithIgnore({ first: 1500, each: 1000, with: () => of(null), ignore: value => value === undefined, }) )

      Type Parameters

      • T
      • O extends ObservableInput<unknown> = ObservableInput<T>
      • M = unknown

      Parameters

      • config: TimeoutConfig<T, O, M> & { ignore: readonly T[] | ((value: T) => boolean) }

        RxJS timeout config with an additional ignore matcher ((value) => boolean or array of values) used to bypass timeout checks.

      Returns OperatorFunction<T, T | ObservedValueOf<O>>