UseCancelablePromiseState
Home > @gooddata/sdk-ui > UseCancelablePromiseState
UseCancelablePromiseState type
Indicates the current state of useCancelablePromise() hook
Signature:
export declare type UseCancelablePromiseState<TResult, TError> = UseCancelablePromisePendingState | UseCancelablePromiseLoadingState | UseCancelablePromiseErrorState<TError> | UseCancelablePromiseSuccessState<TResult>;
References: UseCancelablePromisePendingState, UseCancelablePromiseLoadingState, UseCancelablePromiseErrorState, UseCancelablePromiseSuccessState