useMeta()
function useMeta(
endpoint: Endpoint,
...args: Parameters<typeof endpoint> | [null]
): {
readonly date: number;
readonly error?: NetworkError | UnknownError;
readonly expiresAt: number;
readonly prevExpiresAt?: number | undefined;
readonly invalidated?: boolean | undefined;
} | null;
Retrieves metadata about a request from the cache.