Class ArInsertCommandKt
-
- All Implemented Interfaces:
public final class ArInsertCommandKt
-
-
Method Summary
Modifier and Type Method Description final static RedisRequestarinsertCommand(String key, Collection<StreamWithLength> values, Function1<Long, Unit> onResult)Sets values at consecutive indices, starting at the insert cursor (see ARNEXT / ARSEEK), and advances the cursor. -
-
Method Detail
-
arinsertCommand
final static RedisRequest arinsertCommand(String key, Collection<StreamWithLength> values, Function1<Long, Unit> onResult)
Sets values at consecutive indices, starting at the insert cursor (see ARNEXT / ARSEEK), and advances the cursor.
- Parameters:
onResult-called with the index of the last inserted value
-
-
-
-