Attempt to delete the queue. Note that this will throw if the queue has already been deleted or was never created in the first place.
Deletes an array of messages.
Takes an array of strings (messages) and returns a batch message request.
Add item(s) to the queue. For the sake of simplicity, we'll accept either a
string or array of strings which we'll then cast as an array and pass to
SQS.sendMessageBatch.
Fetches the current approximate count of visible items in the queue.
Fetches stats about the queue. For now this just grabs the current approximate visible message count as well as the queue's ARN.
Our private message long-polling method. Long-polls the queue for QueueConfig.longPollingInterval seconds at a time (up to a max of 20). We'll have this method call itself again at the end of the interval after checking to make sure that there are still items left in the queue.
Generated using TypeDoc
This must be called immediately after instantiation. This is what actually creates the queue.