GraphReFlyTS

API Reference

exhaustMap()

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

Import

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

Signature

function exhaustMap(project: Project<TIn, TOut>): Operator<TIn, TOut>

Parameters

ParameterTypeDescription
projectProject<TIn, TOut>project value used by the helper.

Returns

A Operator<TIn, TOut> value.

Example

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

Source

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