Skip to content

API reference / @node-ts/bus-core / Next

Type Alias: Next ​

ts
type Next = () => void | Promise<void>;

Defined in: packages/bus-core/src/util/middleware.ts:9

'next' function, passed to a middleware

Returns ​

void | Promise<void>

Released under the MIT License.