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:17

Type Parameters

Type ParameterDefault type

C extends Command

Command

GF extends ClercFlagsDefinition

object

Parameters

ParameterType

context

InterceptorContext<C, GF>

next

InterceptorNext

Returns

void | Promise<void>

Released under the MIT license