@morojs/moro / withCaching
Function: withCaching()
withCaching<
T>(ttl?): (factory) =>ServiceFactory<T>
Defined in: src/core/utilities/container.ts:104
Type Parameters
T
T
Parameters
ttl?
number = 300000
Returns
(
factory):ServiceFactory<T>
Parameters
factory
ServiceFactory<T>
Returns
ServiceFactory<T>