@univerjs/core v0.5.0-beta.1 • Docs
Function: composeInterceptors()
function composeInterceptors<T, C>(interceptors): (initValue, initContext) => Nullable<T>
A helper to compose a certain type of interceptors.
Type Parameters
Type Parameter |
---|
T |
C |
Parameters
Parameter | Type |
---|---|
interceptors | IInterceptor <T , C >[] |
Returns
Function
Parameters
Parameter | Type |
---|---|
initValue | Nullable <T > |
initContext | C |
Returns
Nullable
<T
>
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/core/src/common/interceptor.ts:51