-
Notifications
You must be signed in to change notification settings - Fork 1
LinkedQueue
do- edited this page Aug 18, 2025
·
13 revisions
LinkedQueue is a Queue descendant implementing an in memory Linked list based queue.
| Name | Type | Default | Description |
|---|---|---|---|
maxSize |
Number | Infinity | the maximum number of requests queued in memory |
| 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 |
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.
| Name | Payload | When emitted |
|---|---|---|
+ |
the request being added |
After the size is incremented |
- |
the request to be fetched next |
After the size is decremented |