vertx / io.vertx.kotlin.redis / io.vertx.redis.RedisClient / linsertAwait

linsertAwait

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

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