Skip to content

LoadingState🔗

Loading status

Accepted values are NotStarted (the request is not started), Loading (waiting for response), Streaming (pulling continuous data), Done (response received successfully) or Error (failed request).

Definition🔗

export enum LoadingState {
    NotStarted = "NotStarted",
    Loading = "Loading",
    Streaming = "Streaming",
    Done = "Done",
    Error = "Error",
}