Queue is a lightweight JavaScript class that provides a simple way to manage tasks in a queue. It emits events when tasks are added or removed, and provides methods for adding, removing, and waiting ...
A JavaScript implementation of an async producer-consumer queue with backpressure control, similar to .NET's Channel or Go channels. Remove and return the oldest item. Blocks if queue is empty.