Skip to main content

OvokRequestState

No behavioral description is attached to this declaration. The public signature, parameter and return types, and source location below document its published contract.

Kind: Type alias
Package: @ovok/core

Import​

import { OvokRequestState } from '@ovok/core';

TypeScript shape​

type OvokRequestState<T> = {
data: T | undefined;
loading: boolean;
error: Error | undefined;
reload: () => void;
};

This is a type-level export; it has no call parameters.

Public members​

MemberTypeDetails
dataT | undefined—
loadingboolean—
errorError | undefined—
reload(): void—

Learn the workflow​

Continue with React for the workflow context and examples.

Source​

View the declaration in the SDK source.