Context received by a resource's params or request function.
params
request
interface ResourceParamsContext { readonly chain: <T>(resource: Resource<T>) => T;}
<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.