Skip to content

Type Alias: Next ​

Next = () => Promise<unknown>

Run the rest of the pipeline: the next middlewares, then the input validation, the access control and the action. It may be called once per middleware; a second call rejects with a MiddlewareNextCalledException.

Returns ​

Promise<unknown>

The action's result, as the next middlewares return it.

Released under the MIT License.