typeioc

Home > typeioc > IDecoratorResolution > cache

IDecoratorResolution.cache() method

Sets cached resolution flag. When resolved, resolution will be stored in cache

Signature:

cache(name?: string): WithDecoratorResolver;

Parameters

Parameter Type Description
name string the name to be used to retrieve resolution form cache

Returns:

WithDecoratorResolver