lpop abstract method

Future<String?> lpop(
  1. String key
)

Removes and returns the first element of the list stored at key.

Returns null if the key does not exist or the list is empty. Throws a ValkeyServerException if the key holds a non-list value.

Implementation

Future<String?> lpop(String key);