Skip to content

LinkedQueue

do- edited this page Aug 11, 2025 · 11 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}
[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 When emitted
+ After the size is incremented
- After the size is decremented
Clone this wiki locally