Msscan
Bun

method

RedisClient.sscan

key: KeyLike,
cursor: string | number,
...args: string | number[]
): Promise<[string, string[]]>;

Incrementally iterate over a set

@param key

The set key

@param cursor

The cursor value

@param args

Additional SSCAN options (MATCH pattern, COUNT hint)

@returns

Promise that resolves with a tuple [cursor, members[]]

Referenced types

type KeyLike = string | ArrayBufferView | Blob