Abstract Queue to be used for more concrete Queues.
npm install abstract-queue#Abstract-Queue
Queues are one of the basic data structures in Software Engineering.
They come in handy for many different use cases, e.g. Job Queuing where
a Queue would manage a Collection of Jobs which need to be processed
in a sequential order. Other use cases could be Flash Messagers for web
pages or multi-tier collection synchronizers which subsequently send locally
updated items to remote tiers.
This package is abstract and can be used as core data structure of the afore-
mentioned use cases. It aims for correctness, performance and reusability.
class MyQueue extends AbstractQueue {
//@TODO: Add basic usage
...
}
npm test.npm run perf.Nicolas Forgerit