UseCancelablePromiseSuccessState
Home > @gooddata/sdk-ui > UseCancelablePromiseSuccessState
UseCancelablePromiseSuccessState type
Indicates success state for useCancelablePromise() hook
Signature:
export type UseCancelablePromiseSuccessState<TResult> = {
result: TResult;
error: undefined;
status: "success";
};