SSCAN
Iterate a set's members (single-batch cursor).
SSCAN key cursor [MATCH pattern] [COUNT count]
Complexity
O(N) — the whole set is copied and returned in one batch
Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.
Redis compatibility
Differs
not a cursor iterator — the cursor is always 0 and the entire set comes back in one reply; COUNT is validated then ignored
See also
SADDSCARDSDIFFSDIFFSTORESINTERSINTERSTORESISMEMBERSMEMBERSSPOPSRANDMEMBERSREMSUNIONSUNIONSTORE