unmbt/ciallo-redis/cache does not have a README file
pub struct RedisKey[K, V] {
prefix : String
ttl_secs : Int?
format_key : (K) -> String
encode_val : (V) -> String
decode_val : (String) -> V raise DataError
}async fn[K, V] RedisKey::delete(self : RedisKey[K, V], client : RedisClient, id : K) -> Unit raise DataErrorasync fn[K, V] RedisKey::get(self : RedisKey[K, V], client : RedisClient, id : K) -> V? raise DataErrorasync fn[K, V] RedisKey::get_or_load(self : RedisKey[K, V], client : RedisClient, id : K, ttl_secs? : Int, loader : async () -> V) -> Vasync fn[K, V] RedisKey::set(self : RedisKey[K, V], client : RedisClient, id : K, value : V, ttl_secs? : Int) -> Unit raise DataErrorInstall
Download zipStandalone RESP2/3 Redis client with lock-free cooperative Auto-Pipelining, typed Lua scripts, Pub/Sub, and stateless SingleFlight RedisKey (zero dependency on unmbt/ciallo)