Gets an entity by its SomeNode.
When data is already present for the SomeNode as a subject, the stored data is returned, otherwise the SomeNode will be fetched and processed.
The SomeNode of the resource
The options for fetch-/processing the resource.
A promise with the resulting entity
Retrieve the (network) status for a resource.
This API is still unstable, but only the latest status should be taken into account. So if a resource was successfully fetched at some point, but a retry failed, the result will be failed.
Some cases don't have proper HTTP status codes, but some (unstandardized) codes are very close.
Special errors:
202 Accepted
.408 - Request Timeout
.499 - Client Closed Request
.The resource to get the status on.
Register a transformer so it can be used to interact with API's.
Overrides the Accept
value for when a certain host doesn't respond well to multiple values.
The iri of the origin for the requests.
The value to use for the Accept
header.
Generated using TypeDoc
Process all queued deltas
Be sure to assign a new buffer array before starting processing to prevent infinite loops.