Arguments
str
required
The key of the sorted set.
int
required
The cursor, use
0 in the beginning and then use the returned cursor for subsequent calls.str
Glob-style pattern to filter by members.
int
Number of members to return per call.
Response
The new cursor and keys as a tuple.
If the new cursor is
0 the iteration is complete.