API Reference
@univerjs
@univerjs/core
functions
Takeafter

@univerjs/core v0.4.2Docs


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

submodules/univer/packages/core/src/shared/rxjs.ts:42 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.