The array storing the elements in the queue
Add a message to the messages queue.
the message to be added
Removes then returns all messages from the queue as an array.
an array of removed messages
Check if there are no more items in the queue
true if the queue is empty
Copyright © 2025 DiffusionData Ltd. All Rights Reserved.
This class represent a message queue where messages can be added, removed and can query the state of the queue i.e. if the queue is currently empty or not.