UNPKG

@kryptogo/kryptogokit-sdk-react

Version:

KryptogoKit offers a comprehensive web3 wallet solution with seamless KryptoGO Auth integration and multi-wallet connection support. Designed for users. Built for developers.

28 lines (27 loc) 964 B
export declare function createQueryKey<TArgs>( /** A categorial key for the query. */ key: string, /** Arguments to pass onto the query function. */ args: TArgs, /** Configuration for the query key. */ config?: { /** * A persister version number for the query. * If a persisterVersion exists, this means that this query * will be stored in AsyncStorage. * When a query is stored against a persisterVersion, * and is later changed, the cache will bust for this query, * and it will be invalidated. */ persisterVersion?: number; }): readonly [string, TArgs, { /** * A persister version number for the query. * If a persisterVersion exists, this means that this query * will be stored in AsyncStorage. * When a query is stored against a persisterVersion, * and is later changed, the cache will bust for this query, * and it will be invalidated. */ persisterVersion?: number; }];