MCPcopy Create free account
hub / github.com/ChakshuGautam/stylusdb-sql / constructor

Method constructor

src/server.js:6–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4
5class QueryQueue extends EventEmitter {
6 constructor() {
7 super();
8 this.queue = [];
9 this.isProcessing = false;
10 }
11
12 addQuery(queryId, query, callback) {
13 this.queue.push({ query, callback, queryId });

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected