MCPcopy
hub / github.com/mongodb/node-mongodb-native / queue

Method queue

test/tools/cmap_spec_runner.ts:133–141  ·  view source on GitHub ↗
(op: CmapOperation, thread?: Thread)

Source from the content-addressed store, hash-verified

131 }
132
133 queue(op: CmapOperation, thread?: Thread) {
134 if (this.#killed || this.#error) {
135 return;
136 }
137
138 const functionToQueue = () => (!thread ? this._runOperation(op) : thread.queue(op));
139
140 this.#promise = this.#promise.then(functionToQueue).catch(e => (this.#error = e));
141 }
142
143 async finish() {
144 this.#killed = true;

Callers 15

jquery.jsFile · 0.45
functionToQueueMethod · 0.45
runCmapTestFunction · 0.45
jquery.jsFile · 0.45
defaultPrefilterFunction · 0.45
jquery.min.jsFile · 0.45
AnFunction · 0.45
jquery.min.jsFile · 0.45
AnFunction · 0.45
jquery.jsFile · 0.45
defaultPrefilterFunction · 0.45
jquery.min.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected