Function: composeInterceptors()
composeInterceptors<
I,O,T>(interceptors,method,terminal): (input) =>O
Compose method of each interceptor around terminal, first interceptor
outermost. Interceptors without the method are skipped.
Type Parameters
I
I
O
O
T
T extends object
Parameters
interceptors
readonly T[]
method
keyof T
terminal
(input) => O
Returns
(input) => O