Skip to content

Taxum / @taxum/core / layer / Identity

Class: Identity<S>

Defined in: layer/identity.ts:4

Type Parameters

S

S extends AnyService = UnknownService

Implements

Constructors

Constructor

new Identity<S>(): Identity<S>

Returns

Identity<S>

Methods

layer()

layer(inner): S

Defined in: layer/identity.ts:5

Wrap the given service with the middleware, returning a new service that has been decorated with the middleware.

Parameters

inner

S

Returns

S

Implementation of

Layer.layer