Skip to main content
Version: 1.x.x

getDetailsState


import { getDetailsState } from "@hyper-fetch/react"

Description

Defined in helpers/use-tracked-state/use-tracked-state.utils.ts:14

Preview

getDetailsState(state, details)

Parameters

NameDetails

state

Optional

UseTrackedStateType<Command<any, any, any, any, any, any, any, any, any, any, any>>

details

Optional

CommandResponseDetails

Returns

{
isCanceled: boolean;
isFailed: boolean;
isOffline: boolean;
retries: number;
timestamp: number;
}