Mlpop
Bun

method

RedisClient.lpop

key: KeyLike
): Promise<null | string>;

Remove and get the first element in a list

@param key

The list key

@returns

Promise that resolves with the first element, or null if the list is empty

Referenced types

type KeyLike = string | ArrayBufferView | Blob