GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Docs
  • Tutorials
  • Playground
  • Reference
  • code
  • Resource

This view

  • Original page
  • New address

GeezerVison is showing angular.dev — ResourceStatus • Angular

API

    
      type ResourceStatus = 'idle' | 'error' | 'loading' | 'reloading' | 'resolved' | 'local'
    
    

Description

String value capturing the status of a Resource.

Possible statuses are:

idle - The resource has no valid request and will not perform any loading. value() will be undefined.

loading - The resource is currently loading a new value as a result of a change in its reactive dependencies. value() will be undefined.

reloading - The resource is currently reloading a fresh value for the same reactive dependencies. value() will continue to return the previously fetched value during the reloading operation.

error - Loading failed with an error. Reading value() will throw; use hasValue() or error() to check first.

resolved - Loading has completed and the resource has the value returned from the loader.

local - The resource's value was set locally via .set() or .update().

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.