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

Method functionToQueue

test/tools/cmap_spec_runner.ts:138–138  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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 }

Callers

nothing calls this directly

Calls 2

_runOperationMethod · 0.95
queueMethod · 0.45

Tested by

no test coverage detected