@univerjscorefunctionsTakeafter

@univerjs/core v0.5.0-beta.1Docs


Function: takeAfter()

function takeAfter<T>(callback): (source) => Observable<T>

An operator that would complete the stream once a condition is met. Consider it as a shortcut of takeUntil.

Type Parameters

Type Parameter
T

Parameters

ParameterType
callback(value) => boolean

Returns

Function

Parameters

ParameterType
sourceObservable<T>

Returns

Observable<T>

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/rxjs.ts:42