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

Method getThread

test/tools/cmap_spec_runner.ts:310–318  ·  test/tools/cmap_spec_runner.ts::ThreadContext.getThread
(name)

Source from the content-addressed store, hash-verified

308 }
309
310 getThread(name) {
311 let thread = this.threads.get(name);
312 if (!thread) {
313 thread = new Thread(this.#supportedOperations);
314 this.threads.set(name, thread);
315 }
316
317 return thread;
318 }
319
320 createPool(options) {
321 this.pool = new ConnectionPool(this.#server, {

Callers 2

getTestOpDefinitionsFunction · 0.80
runCmapTestFunction · 0.80

Calls 2

setMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected