Class LPushCommandKt
-
- All Implemented Interfaces:
public final class LPushCommandKt
-
-
Method Summary
Modifier and Type Method Description final static RedisRequestlpushCommand(String key, Collection<StreamWithLength> elements, Function1<Long, Unit> onResult)Inserts elements at the head of the list. -
-
Method Detail
-
lpushCommand
final static RedisRequest lpushCommand(String key, Collection<StreamWithLength> elements, Function1<Long, Unit> onResult)
Inserts elements at the head of the list.
- Parameters:
onResult-called with the length of the list after the push operation
-
-
-
-