Taxum / @taxum/core / layer / Identity
Class: Identity<S>
Defined in: layer/identity.ts:4
Type Parameters
S
S
extends AnyService
= UnknownService
Implements
Layer
<S
,S
>
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