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

Method pinServer

src/transactions.ts:168–172  ·  view source on GitHub ↗
(server: Server)

Source from the content-addressed store, hash-verified

166 }
167
168 pinServer(server: Server): void {
169 if (this.isActive) {
170 this._pinnedServer = server;
171 }
172 }
173
174 unpinServer(): void {
175 this._pinnedServer = undefined;

Callers 1

processWaitQueueFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected