API/QubeeHttpResourceRef
QubeeHttpResourceRef
What qubeeHttpResource returns
Members
Section titled “Members”| Member | Type | Description |
|---|---|---|
error |
Signal<unknown> |
Why the current request failed — an HttpErrorResponse for a status that is not ok, else what the parser threw — or undefined |
isLoading |
Signal<boolean> |
A request is in flight. |
reload |
() => boolean |
Fetch the current request again. |
resource |
HttpResourceRef<RawResponse | undefined> |
The underlying httpResource(), for everything else — statusCode, headers, progress, the raw value |
value |
Signal<PaginatedCollection<T> | undefined> |
The page of the current request, parsed with the list’s paginator. While the next request is in flight it is the previous page, unless keepPreviousData is false. undefined before the first answer, after a failure, and while the request is null. |