@morojs/moro


@morojs/moro / withCaching

Function: withCaching()

withCaching<T>(ttl): (factory) => ServiceFactory<T>

Defined in: src/core/utilities/container.ts:94

Type Parameters

T

T

Parameters

ttl

number = 300000

Returns

(factory): ServiceFactory<T>

Parameters

factory

ServiceFactory<T>

Returns

ServiceFactory<T>