Workery / middleware / Middleware
Class: Middleware<E>
middleware.Middleware
Type parameters
Name | Type |
---|---|
E | unknown |
Table of contents
Constructors
Properties
Constructors
constructor
• new Middleware<E
>(init
): Middleware
<E
>
Type parameters
Name | Type |
---|---|
E | unknown |
Parameters
Name | Type |
---|---|
init | Object |
init.name? | string |
init.handle | MiddlewareHandler <E > |
Returns
Middleware
<E
>
Defined in
Properties
name
• Optional
name: string
Defined in
handle
• handle: MiddlewareHandler
<E
>