Type Alias: InterceptorHandler()<C, GF>
ts
type InterceptorHandler<C, GF> = (context, next) => void | Promise<void>;Defined in: packages/core/src/types/interceptor.ts:18
Type Parameters
| Type Parameter | Default type |
|---|---|
C extends Command | Command |
GF extends ClercFlagsDefinition | object |
Parameters
| Parameter | Type |
|---|---|
context | InterceptorContext<C, GF> |
next | InterceptorNext |
Returns
void | Promise<void>

