Skip to content
PACKAGES

exhaustMap()

exhaustMap: while an inner is active, DROP new source values; project the next source value only after the active inner COMPLETEs.

import { exhaustMap } from "@graphrefly/ts/operators";
function exhaustMap(project: Project<TIn, TOut>): Operator<TIn, TOut>
ParameterTypeDescription
projectProject<TIn, TOut>project value used by the helper.

A Operator<TIn, TOut> value.

import { exhaustMap } from "@graphrefly/ts/operators";

packages/ts/src/graph/higher-order.ts