Module: decorators/lazy
Functions
lazy
▸ lazy(serviceIdentifier
, enableCache?
): (target
: object
, key
: string
| symbol
, descriptor?
: PropertyDescriptor
<any
>) => void
Parameters
Name | Type |
---|---|
serviceIdentifier | ServiceIdentifier <unknown > |
enableCache? | boolean |
Returns
fn
▸ (target
, key
, descriptor?
): void
Parameters
Name | Type |
---|---|
target | object |
key | string | symbol |
descriptor? | PropertyDescriptor <any > |
Returns
void