vertx / io.vertx.kotlin.redis / io.vertx.redis.RedisTransaction / linsertAwait

linsertAwait

suspend fun RedisTransaction.linsertAwait(key: String, option: InsertOptions, pivot: String, value: String): String

Insert an element before or after another element in a list

Parameters

key - Key string

option - BEFORE or AFTER

pivot - Key to use as a pivot

value - Value to be inserted before or after the pivot

handler - Handler for the result of this call.

Return