Mspop
Bun

method

RedisClient.spop

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

Remove and return a random member from a set

@param key

The set key

@returns

Promise that resolves with the removed member, or null if the set is empty

Referenced types

type KeyLike = string | ArrayBufferView | Blob