aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/rxjs/src/internal/operators/exhaustAll.ts
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-06-29 11:49:28 -0700
committerPinapelz <yukais@pinapelz.com>2025-06-29 11:49:28 -0700
commitd55b767039605256c736166a942a9138e3eacfd7 (patch)
tree947063b634c50d438a794325f13275e134aa5993 /node_modules/rxjs/src/internal/operators/exhaustAll.ts
parent864ce67d89c77d8ef9c3361f80d619853abcf91c (diff)
remove dev node_modules (oops)
Diffstat (limited to 'node_modules/rxjs/src/internal/operators/exhaustAll.ts')
-rw-r--r--node_modules/rxjs/src/internal/operators/exhaustAll.ts51
1 files changed, 0 insertions, 51 deletions
diff --git a/node_modules/rxjs/src/internal/operators/exhaustAll.ts b/node_modules/rxjs/src/internal/operators/exhaustAll.ts
deleted file mode 100644
index 4a58a5e..0000000
--- a/node_modules/rxjs/src/internal/operators/exhaustAll.ts
+++ /dev/null
@@ -1,51 +0,0 @@
-import { OperatorFunction, ObservableInput, ObservedValueOf } from '../types';
-import { exhaustMap } from './exhaustMap';
-import { identity } from '../util/identity';
-
-/**
- * Converts a higher-order Observable into a first-order Observable by dropping
- * inner Observables while the previous inner Observable has not yet completed.
- *
- * <span class="informal">Flattens an Observable-of-Observables by dropping the
- * next inner Observables while the current inner is still executing.</span>
- *
- * ![](exhaustAll.svg)
- *
- * `exhaustAll` subscribes to an Observable that emits Observables, also known as a
- * higher-order Observable. Each time it observes one of these emitted inner
- * Observables, the output Observable begins emitting the items emitted by that
- * inner Observable. So far, it behaves like {@link mergeAll}. However,
- * `exhaustAll` ignores every new inner Observable if the previous Observable has
- * not yet completed. Once that one completes, it will accept and flatten the
- * next inner Observable and repeat this process.
- *
- * ## Example
- *
- * Run a finite timer for each click, only if there is no currently active timer
- *
- * ```ts
- * import { fromEvent, map, interval, take, exhaustAll } from 'rxjs';
- *
- * const clicks = fromEvent(document, 'click');
- * const higherOrder = clicks.pipe(
- * map(() => interval(1000).pipe(take(5)))
- * );
- * const result = higherOrder.pipe(exhaustAll());
- * result.subscribe(x => console.log(x));
- * ```
- *
- * @see {@link combineLatestAll}
- * @see {@link concatAll}
- * @see {@link switchAll}
- * @see {@link switchMap}
- * @see {@link mergeAll}
- * @see {@link exhaustMap}
- * @see {@link zipAll}
- *
- * @return A function that returns an Observable that takes a source of
- * Observables and propagates the first Observable exclusively until it
- * completes before subscribing to the next.
- */
-export function exhaustAll<O extends ObservableInput<any>>(): OperatorFunction<O, ObservedValueOf<O>> {
- return exhaustMap(identity);
-}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage