Class LInsertCommandKt
-
- All Implemented Interfaces:
public final class LInsertCommandKt
-
-
Method Summary
Modifier and Type Method Description final static RedisRequestlinsertCommand(String key, LInsertPosition position, StreamWithLength pivot, StreamWithLength element, Function1<Long, Unit> onResult)-
-
Method Detail
-
linsertCommand
final static RedisRequest linsertCommand(String key, LInsertPosition position, StreamWithLength pivot, StreamWithLength element, Function1<Long, Unit> onResult)
- Parameters:
onResult-called with the length of the list after the insert, -1 if the pivot was not found or 0 if the key does not exist
-
-
-
-