vertx / io.vertx.redis / RedisTransaction / brpoplpush

brpoplpush

abstract fun brpoplpush(key: String, destkey: String, seconds: Int, handler: Handler<AsyncResult<String>>): RedisTransaction

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.

Since
Redis 2.2.0 group: list