method
RedisClient.xadd
@param key
The stream key
@param args
Optional NOMKSTREAM/MAXLEN/MINID, the entry ID (use "*" for auto-generate), and field-value pairs
@returns
Promise that resolves with the ID of the added entry
const id = await redis.xadd("mystream", "*", "field1", "value1", "field2", "value2");Referenced types
type KeyLike = string | ArrayBufferView | Blob