✅ You are viewing documentation for the latest version of Compose SDK.
Version:
# Interface UseGetNlgInsightsState
State for useGetNlgInsights composable.
# Properties
# data
data:
Ref<string|undefined>
The result data
# error
error:
Ref<unknown>
The error if any occurred
# isError
isError:
Ref<boolean>
Whether the data fetching has failed
# isLoading
isLoading:
Ref<boolean>
Whether the data fetching is loading
# isSuccess
isSuccess:
Ref<boolean>
Whether the data fetching has succeeded
# refetch
refetch: () =>
void
Callback to trigger a refetch of the data
# Returns
void