Home > typeioc > IDecoratorResolution > cache
Sets cached resolution flag. When resolved, resolution will be stored in cache
Signature:
cache(name?: string): WithDecoratorResolver;
Parameter | Type | Description |
---|---|---|
name | string |
the name to be used to retrieve resolution form cache |
Returns:
WithDecoratorResolver