UNPKG

react-query

Version:

Hooks for managing, caching and syncing asynchronous and remote data in React

10 lines (9 loc) 302 B
export declare abstract class Removable { cacheTime: number; private gcTimeout?; destroy(): void; protected scheduleGc(): void; protected updateCacheTime(newCacheTime: number | undefined): void; protected clearGcTimeout(): void; protected abstract optionalRemove(): void; }