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
Section titled “Import”import { takeUntil } from "@graphrefly/ts/operators";Signature
Section titled “Signature”function takeUntil(): Operator<unknown, S>Returns
Section titled “Returns”A Operator<unknown, S> value.
Example
Section titled “Example”import { takeUntil } from "@graphrefly/ts/operators";Source
Section titled “Source”packages/ts/src/graph/combinators.ts