Access to event emitter methods. Use this to attach event handlers to the consumer.
Start polling the queue for messages.
Stop polling the queue for messages.
Optional
options: StopOptionsStop options (e.g. { abort: true } to abort current requests)
Validates and then updates the provided option to the provided value.
The option to validate and then update
The value to set the provided option to
Returns the current status of the consumer. This includes whether it is running or currently polling.