result = redis.xlen("mystream")
Returns the number of entries inside a stream.
Was this page helpful?