UNPKG

superfly-timeline

Version:

Resolver for defining objects with temporal boolean logic relationships on a timeline

12 lines 377 B
export declare class Cache { private autoCleanup; private cache; private clearTimeout; private timeToCueNewCleanup; constructor(autoCleanup?: boolean); /** Cache the result of function for a limited time */ cacheResult<T>(key: string, fcn: () => T, limitTime: number): T; cleanUp(): void; clear(): void; } //# sourceMappingURL=cache.d.ts.map