X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FQueue.html;h=4a21134e07f389edd122700351429dfd43c67e3c;hb=a6d9dccfaf39e185c896747260d668fcb683a8ed;hp=aba2b538416b253db616a827f097a4fdf03b8bd2;hpb=004a8816ae9b52388de246a9c7a5184a73915ad6;p=poolifier.git diff --git a/docs/classes/Queue.html b/docs/classes/Queue.html index aba2b538..4a21134e 100644 --- a/docs/classes/Queue.html +++ b/docs/classes/Queue.html @@ -32,7 +32,7 @@
Private
headPrivate
itemsPrivate
maxPrivate
tail
Get the maximum size of the queue.
+The maximum size of the queue.
Returns number
The maximum size of the queue.
--- Defined in src/queue.ts:37
+Private
offset+- Defined in src/queue.ts:10
size
--- get size(): number
--
-
size: number
+
-
+- Defined in src/queue.ts:12
+
+- Defined in src/queue.ts:40
+- Defined in src/queue.ts:26
+ - Defined in src/queue.ts:58
Get the size of the queue.
+The size of the queue.
Returns number
The size of the queue.
--- Defined in src/queue.ts:27
Methods
+clear
++- clear(): void
+-
+
+
+
Clear the queue.
+Returns void
++- Defined in src/queue.ts:68
dequeue
@@ -136,7 +123,7 @@
-- Defined in src/queue.ts:59
enqueue
@@ -156,7 +143,7 @@
-- Defined in src/queue.ts:47
peek
@@ -164,10 +151,11 @@-
-
Peek at the first item.
Returns undefined | T
+Returns undefined | T
The first item or
+undefined
if the queue is empty.-- Defined in src/queue.ts:75