Skip to content

Workery / middleware / Middleware

Class: Middleware<E>

middleware.Middleware

Type parameters

NameType
Eunknown

Table of contents

Constructors

Properties

Constructors

constructor

new Middleware<E>(init): Middleware<E>

Type parameters

NameType
Eunknown

Parameters

NameType
initObject
init.name?string
init.handleMiddlewareHandler<E>

Returns

Middleware<E>

Defined in

src/middleware.ts:7

Properties

name

Optional name: string

Defined in

src/middleware.ts:4


handle

handle: MiddlewareHandler<E>

Defined in

src/middleware.ts:5