vertx / io.vertx.kotlin.redis / io.vertx.redis.RedisTransaction / brpopAwait

brpopAwait

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

Remove and get the last element in a list, or block until one is available

Parameters

key - Key string identifying a list to watch

seconds - Timeout in seconds

handler - Handler for the result of this call.

Return