vertx / io.vertx.kotlin.redis / io.vertx.redis.RedisTransaction / brpoplpushAwait

brpoplpushAwait

suspend fun RedisTransaction.brpoplpushAwait(key: String, destkey: String, seconds: Int): String

Pop a value from a list, push it to another list and return it; or block until one is available

Parameters

key - Key string identifying the source list

destkey - Key string identifying the destination list

seconds - Timeout in seconds

handler - Handler for the result of this call.

Return