@univerjs/core v0.2.11 • 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:41 (opens in a new tab)