@univerjs/core v0.4.2 • Docs
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
Parameter | Type |
---|---|
callback | (value ) => boolean |
Returns
Function
Parameters
Parameter | Type |
---|---|
source | Observable <T > |
Returns
Observable
<T
>
Defined in
submodules/univer/packages/core/src/shared/rxjs.ts:42 (opens in a new tab)