RetryFnParams
Signature
type RetryFnParams<T = any, E = any> = {
getToken: () => Promise<string>;
onRefetch: (refresed: string) => T;
onError?: (error: E) => void;
};
type RetryFnParams<T = any, E = any> = {
getToken: () => Promise<string>;
onRefetch: (refresed: string) => T;
onError?: (error: E) => void;
};