
Documentation
Generated by Codox
Tolgraven 0.1.0-SNAPSHOT
website.component.data
Shared, mount-independent resource loading. Adapters are registered separately.
ensure!
(ensure! resource)Queue immediately, independent of React. Return a shared Promise for one resource. Errors are retained until retry; successful remote snapshots default to 60s TTL.
invalidate!
(invalidate! matches?)Drop matching resources and reject their waiters. Late results cannot install. Used by auth changes as well as explicit refreshes.
restore!
(restore! resource)Install a valid opt-in snapshot synchronously, before the loading branch.
wait-for!
(wait-for! reference read! timeout-ms)Observe a ratom without creating a React subscription. Always remove the watch.