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
  • ResourceStreamingLoader
  • ResourceParamsContext
  • ValueEqualityFn
  • Injector

This view

  • Original page
  • New address

GeezerVison is showing angular.dev — StreamingResourceOptions • Angular

API

    
      interface StreamingResourceOptions<T, R> extends BaseResourceOptions<T, R> {}
    
    

Loading function which returns a Promise of a signal of the resource's value for a given request, which can change over time as new values are received from a stream.

Cannot specify stream and loader at the same time.

A reactive function which determines the request to be made. Whenever the request changes, the loader will be triggered to fetch a new value for the resource.

If a params function isn't provided, the loader won't rerun unless the resource is reloaded.

The value which will be returned from the resource when a server value is unavailable, such as when the resource is still loading.

Equality function used to compare the return value of the loader.

Overrides the Injector used by resource.

Identifier used to cache the resource data in the TransferState during server-side rendering and to retrieve it on the client side. This value value needs to be identical for both the client and server.

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.