Skip to main content

Module: decorators/lazy

Functions

lazy

lazy(serviceIdentifier, enableCache?): (target: object, key: string | symbol, descriptor?: PropertyDescriptor<any>) => void

Parameters

NameType
serviceIdentifierServiceIdentifier<unknown>
enableCache?boolean

Returns

fn

▸ (target, key, descriptor?): void

Parameters
NameType
targetobject
keystring | symbol
descriptor?PropertyDescriptor<any>
Returns

void

Defined in

packages/reactant-module/src/decorators/lazy.ts:6