@univerjs/core v0.5.0-beta.1 • 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
packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/rxjs.ts:42