Skip to content
PACKAGES

takeUntil()

takeUntil: forward dep 0 (source) DATA until dep 1 (notifier) delivers its first DATA, then COMPLETE. partial:true + completeWhenDepsComplete:false + terminalAsRealInput:true: a source COMPLETE forwards COMPLETE; a notifier DATA triggers COMPLETE. Source/notifier ERROR propagates (default errorWhenDepsError).

import { takeUntil } from "@graphrefly/ts/operators";
function takeUntil(): Operator<unknown, S>

A Operator<unknown, S> value.

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

packages/ts/src/graph/combinators.ts