class Redis

def sscan(key, cursor, options={})

Returns:
  • (String, Array) - the next cursor and all found members

Parameters:
  • options (Hash) --
  • cursor (String, Integer) -- the cursor of the iteration

Other tags:
    Example: Retrieve the first batch of keys in a set -
def sscan(key, cursor, options={})
  _scan(:sscan, cursor, [key], options)
end