Optional
storage?: Storage(Advanced) You can provide the backing cache object
By default it uses an internal implementation based on an internal variable, but you can provide your own implementation
Access to the backing cache.
Useful for doing cache.set(null)
, and force a re-fetch.
Suspend your tree while the async function resolves, and return its promise's value
This will not call the function again if it changes! If you need to respond to different arguments, you can use createKeyedSuspense instead.
Generated using TypeDoc
Create a suspense cache for a single value.