Workery / dependencies / Dependency
Class: Dependency<R, Ps, E>
dependencies.Dependency
Type parameters
Name | Type |
---|---|
R | R |
Ps | extends RouteParameters |
E | unknown |
Table of contents
Constructors
Properties
Constructors
constructor
• new Dependency<R
, Ps
, E
>(init
): Dependency
<R
, Ps
, E
>
Type parameters
Name | Type |
---|---|
R | R |
Ps | extends RouteParameters |
E | unknown |
Parameters
Name | Type |
---|---|
init | Object |
init.of? | Router <E > | Of <E > |
init.name? | string |
init.parameters | Ps |
init.handle | DependencyHandler <R , Ps , E > |
Returns
Dependency
<R
, Ps
, E
>
Defined in
Properties
of
• Optional
of: Router
<E
> | Of
<E
>
Defined in
name
• Optional
name: string
Defined in
parameters
• parameters: Ps
Defined in
handle
• handle: DependencyHandler
<R
, Ps
, E
>