Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • State

Index

Constructors

Properties

error: null = null

If an exception was thrown while making the request, the error thrown will be here.

status: null | number = null

HTTP status code.

value: null = null

The resolved value of the fetch request

Accessors

  • get isError(): boolean
  • true if the request throws an exception

    Returns boolean

  • get isLoading(): boolean
  • true if the fetch request is in progress

    Returns boolean

  • get isPending(): boolean
  • Alias for isLoading

    Returns boolean

  • get isResolved(): boolean
  • true if the request has finished

    Returns boolean

Generated using TypeDoc