UNPKG

coolant

Version:

The modular build radiator

3 lines (2 loc) 156 B
export declare type Provider<T> = () => Promise<T>; export declare const cachingProvider: <T>(provider: Provider<T>, cacheDuration: number) => Provider<T>;