Expand description
Concurrent state utilities for Rust services.
Provides ReadyGate for readiness probing, ttl::TtlCache for time-expiring
caches, counter::SharedCounter for atomic counters, and type aliases for common
concurrent patterns.
Re-exports§
Modules§
- counter
- Atomic counter utilities.
- ready
- Readiness gate for service health probing.
- ttl
- Time-to-live cache backed by DashMap.
Functions§
- shared_
cache - Create a new
SharedCache. - shared_
map - Create a new
SharedMap.
Type Aliases§
- Shared
Cache - Type alias for a shared concurrent cache backed by
DashMap. - Shared
Map - Type alias for a shared concurrent map backed by
tokio::sync::RwLock.