Private
completedIndicates whether the queue has been marked as completed.
Private
eventsInternal array of queued async events.
Adds an async event to the queue if not completed.
The async event to add.
Clears all events from the queue.
Marks the queue as completed, preventing further events from being added.
Retrieves a shallow copy of all pending events in the queue.
An array of pending async events.
AsyncEventQueue manages a queue of asynchronous events for processing.
Remarks