method
RedisClient.xinfo
subcommand: string,
...args: string | number[]
): Promise<any>;
Get information about a stream or its consumer groups
@param subcommand
STREAM, GROUPS, CONSUMERS, or HELP
@param args
The stream key and any additional arguments
@returns
Promise that resolves with the requested information
await redis.xinfo("STREAM", "mystream");
await redis.xinfo("GROUPS", "mystream");