MCPcopy Create free account
hub / github.com/Shazbot/WH3-Mod-Manager / enqueue

Method enqueue

src/utility/queue.ts:7–9  ·  view source on GitHub ↗
(item: T)

Source from the content-addressed store, hash-verified

5 this.queue = [];
6 }
7 enqueue(item: T) {
8 this.queue.push(item);
9 }
10 dequeue(): T | undefined {
11 return this.queue.shift();
12 }

Callers 2

buildDBReferenceTreeFunction · 0.95
addNewChildNodeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected