Skip to content

Middleware

type Middleware<I, O, E = never> = Event<[input: I, next: Next<I, O, E>], O, E>

Defined in: Event.ts:45

An event dispatched with waterfall: each handler may transform the input or short-circuit.

Type Parameter Default type
I -
O -
E never