Arguments#
The key of the stream.
The consumer group name.
The consumer name that will claim the messages.
The minimum idle time in milliseconds for messages to be claimed.
The ID(s) of the message(s) to claim. Can be a single ID or an array of IDs.
options#
Response#
Array<[string, string[]]> | string[]
Returns an array of claimed messages. If justid option is used, returns only message IDs.