UNPKG

solive-core

Version:

Solidity Monaco Editor Core Library

11 lines 330 B
type CacheOptions = { cacheTime: number; }; type CacheReturn<T> = { value: T | undefined; expired: boolean; }; declare function cache<T>(key: string, value: T, ops: CacheOptions): void; declare function getCache<T>(key: string): CacheReturn<T>; export { cache, getCache }; //# sourceMappingURL=cache.d.ts.map