Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

LoadingStateOptions

LoadingStateOptions: { delay?: number; id: string }

Type declaration

  • Optional delay?: number

    How long to wait before the "delayed" state is set

  • id: string

    ID for debugging

LoadingStatus

LoadingStatus: "idle" | "loading" | "delayed" | "success" | "error"

The current status for running the action

  • idle - hasn't run yet
  • loading - currently running an action
  • delayed - the action has been running for a while
  • success - the action ran without errors
  • error - an error occurred while running the action

Generated using TypeDoc