• Overview
@angular/core

ResourceParamsContext

interface

Context received by a resource's params or request function.

API

    
      interface ResourceParamsContext {  readonly chain: <T>(resource: Resource<T>) => T;}
    
    

chain

<T>(resource: Resource<T>) => T

Chains the current params off of the value of another resource, returning the value of the other resource if it is available, or propagating the status to the current resource by throwing the appropriate status code if the value is not available.

Jump to details