Defined in: warp-drive-packages/core/declarations/internal-DMxLqCZa.d.ts:8933
Utilities for keeping the request fresh
Type Parameters
RT
RT
Properties
abort()?
optional abort: () => void;Defined in: warp-drive-packages/core/declarations/internal-DMxLqCZa.d.ts:8957
Aborts the in-flight refresh/reload request, if any.
Returns
void
isHidden
isHidden: boolean;Defined in: warp-drive-packages/core/declarations/internal-DMxLqCZa.d.ts:8941
Whether the browser reports that the tab is hidden.
isOnline
isOnline: boolean;Defined in: warp-drive-packages/core/declarations/internal-DMxLqCZa.d.ts:8937
Whether the browser reports that the network is online.
isRefreshing
isRefreshing: boolean;Defined in: warp-drive-packages/core/declarations/internal-DMxLqCZa.d.ts:8945
Whether the subscription is currently refreshing the request.
latestRequest?
optional latestRequest: Future<RT>;Defined in: warp-drive-packages/core/declarations/internal-DMxLqCZa.d.ts:8961
The most recent refresh/reload request that was made, if any.
refresh()
refresh: () => Promise<void>;Defined in: warp-drive-packages/core/declarations/internal-DMxLqCZa.d.ts:8949
Refreshes the request, updating it in the background.
Returns
Promise<void>
reload()
reload: () => Promise<void>;Defined in: warp-drive-packages/core/declarations/internal-DMxLqCZa.d.ts:8953
Retries the request, reloading it from the server.
Returns
Promise<void>