Skip to content

4.14.0 - add concurrency function for expire, exists, ttl, pttl

Latest

Choose a tag to compare

@penny-for-vapor penny-for-vapor released this 12 Sep 18:03
bc960cc

What's Changed

add concurrency function for expire, exists, ttl, pttl by @iwecon in #222

add concurrency function for expire, exists, ttl, pttl

try await req.redis.expire(key1, after: .seconds(10)) == true 
try await req.redis.exists(key1, key2, key3) == 3
try await req.redis.exists([key1, key2, key3]) == 3
try await req.redis.ttl(key1) == RedisKey.Lifetime
try await req.redis.pttl(key1) == RedisKey.Lifetime
This patch was released by @0xTim

Full Changelog: 4.13.1...4.14.0