Class RPopCommandKt
-
- All Implemented Interfaces:
public final class RPopCommandKt
-
-
Method Summary
Modifier and Type Method Description final static ValkeyRequestrpopCommand(String key, Long count, ElementSink<StreamWithLength> sink)-
-
Method Detail
-
rpopCommand
final static ValkeyRequest rpopCommand(String key, Long count, ElementSink<StreamWithLength> sink)
- Parameters:
count-optional, the maximum number of elements to pop. If not set, at most one element is popped
sink-called once per popped element (none if the key does not exist). The stream is read directly from the connection and is only valid until the callback returns, unread parts are skipped.
-
-
-
-