module Redis::Commands::Streams

def xlen(key)

Returns:
  • (Integer) - the number of entries

Parameters:
  • key (String) -- the stream key

Other tags:
    Example: With key -
def xlen(key)
  send_command([:xlen, key])
end