Skip to content

Workery / dependencies / Dependency

Class: Dependency<R, Ps, E>

dependencies.Dependency

Type parameters

NameType
RR
Psextends RouteParameters
Eunknown

Table of contents

Constructors

Properties

Constructors

constructor

new Dependency<R, Ps, E>(init): Dependency<R, Ps, E>

Type parameters

NameType
RR
Psextends RouteParameters
Eunknown

Parameters

NameType
initObject
init.of?Router<E> | Of<E>
init.name?string
init.parametersPs
init.handleDependencyHandler<R, Ps, E>

Returns

Dependency<R, Ps, E>

Defined in

src/dependencies.ts:11

Properties

of

Optional of: Router<E> | Of<E>

Defined in

src/dependencies.ts:6


name

Optional name: string

Defined in

src/dependencies.ts:7


parameters

parameters: Ps

Defined in

src/dependencies.ts:8


handle

handle: DependencyHandler<R, Ps, E>

Defined in

src/dependencies.ts:9