Mrpop
Bun

method

RedisClient.rpop

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

Remove and get the last element in a list

@param key

The list key

@returns

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

Referenced types

type KeyLike = string | ArrayBufferView | Blob