lpush abstract method

Future<int> lpush(
  1. String key,
  2. String value
)

Prepends value to the list stored at key.

Returns the length of the list after the push operation. Throws a ValkeyServerException if the key holds a non-list value.

Implementation

Future<int> lpush(String key, String value);