Module cache

Source
Expand description

Cache for the Apollo client.

Structs§

Cache
A cache for a given namespace.

Enums§

Error

Type Aliases§

EventListener
Type alias for event listeners that can be registered with the cache. For native targets, listeners need to be Send and Sync to be safely shared across threads. Listeners are functions that take a Result<Value, Error> as an argument. Value is the serde_json::Value representing the configuration. Error is the cache’s error enum.