UNPKG

thunk-request-status

Version:
6 lines (5 loc) 323 B
import { AsyncThunk } from './request-statuses.types'; export declare const useIsIdle: (thunk: AsyncThunk) => boolean; export declare const useIsLoading: (thunk: AsyncThunk) => boolean; export declare const useIsRejected: (thunk: AsyncThunk) => boolean; export declare const useIsFulfilled: (thunk: AsyncThunk) => boolean;