Skip to main content

store

Function store 

Source
pub async fn store() -> Result<Arc<RedisCacheStore>, AppError>
Expand description

The shared store, built on first use and reused thereafter. If the connection cannot be built yet, the error propagates to the caller (fail-fast — a cache failure is the caller’s concern via the flow’s exception handler) and the next call retries with freshly resolved configuration.