Skip to content

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

C

C extends Command = Command

GF

GF extends ClercFlagsDefinition = { }

Parameters

context

InterceptorContext<C, GF>

next

InterceptorNext

Returns

void | Promise<void>

在 MIT 许可证下发布