Skip to content

LinkedQueue

do- edited this page Aug 18, 2025 · 13 revisions

LinkedQueue is a Queue descendant implementing an in memory Linked list based queue.

Options

Name Type Default Description
maxSize Number Infinity the maximum number of requests queued in memory

Properties

Name Type Description Note
size Number the actual queue size Read only
[Tracker.LOGGING_DETAILS] Object log payload {size, maxSize, request}
[Tracker.LOGGING_EVENTS] Object logging '+' and '-' events

Methods

add (request)

This synchronous method adds the request to the queue and calls check () which leads to the Job creation as soon as the capacity allows it.

Events

Name Payload When emitted
+ the request being added After the size is incremented
- the request to be fetched next After the size is decremented

Clone this wiki locally