Skip to main content

Interface: UseAsyncResult<T>

Defined in: coreUtils/hooks.ts:142

Result from useAsync hook.

Type Parameters

Type Parameter

T

Properties

PropertyModifierTypeDescription

data

readonly

undefined | T

The last successfully loaded value.

(Does not reset on error or when reloading is in progress.)

error?

readonly

unknown

Load operation error.

status

readonly

"loading" | "error" | "completed"

Load operation status.