Skip to main content

Module cache

Module cache 

Source
Expand description

Cache that lets the synchronous DataProvider serve data arriving asynchronously: a miss queues the key and reports pending, and the host fills it in later. Pure — no I/O, no wasm — so it is host-testable.

Structs§

CachingProvider
A DataProvider whose neighbor lookups are served from a NeighborCache. A miss returns a pending result and queues the key; the host fetches it and calls NeighborCache::fill later, at which point the view rebuilds.
NeighborCache
Ready results plus in-flight/failed bookkeeping.

Type Aliases§

CacheKey