type of the data to be resolved.
The type of the value to be returned by the KeyFactory.
This key is used to indicate the cache slot for both the resource and the global cache.
A function that receives [[Storagerequest]] and returns a Key.
An object to be received by the ResourcePlugin's "requestWillFetch" property.
type of the cache data
Cache response types
type of the resolved value.
An array of values to be received by the KeyFactory and the data fetcher.
Constructs a React resource for Suspense components.
the type of the data that flows in the resource.
a unified type for the StorageRequest
Writes the data to the cache
Calls cacheKeyWillBeUsed
, cacheWillUpdate
and cacheDidUpdate
stages.
Also calls the matchData stages.
original parameter received from the ResourceHandler
Array of ResourcePlugin
Fetches data from the fetcher (provided by the params).
Calls requestWillFetch
, fetchDidSucceed
and fetchDidFail
stages.
original parameter received from the ResourceHandler
Array of ResourcePlugin
Reads data from the cache.
Calls cacheKeyWillBeUsed
and cachedResponseWillBeUsed
stages.
original parameter received from the ResourceHandler
Array of ResourcePlugin
Gets the cached data from the given cache and key
the type of the cached value
the name of the cache to access to
key of the data to check for
Checks if the GlobalCache has the given key of cache occupied
the name of the cache to access to
key of the data to check for
Sets the data to be cached for the given cache and key
the type of the value to be cached with.
the name of the cache to access to
key of the data to check for
value to be cached
Generated using TypeDoc
A asynchronous function that receives StorageRequest and resolves to a data