UNPKG

react-playmakers

Version:

React wrapper providing utilities for PlayMakers integration

5 lines (4 loc) 399 B
export declare const getCache: <T>(key: string, cacheExpiration?: number) => Promise<T | undefined>; export declare const setCache: (key: string, response: unknown) => void; export declare const withCache: <T, S extends unknown[]>(fun: (...args: S) => Promise<T>, args: S, cacheExpiration: number) => Promise<T>; export declare const clearCache: (functionKey: string, args?: unknown[]) => void;