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

Method maxTimeMS

src/timeout.ts:225–227  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

223 }
224
225 get maxTimeMS(): number {
226 return this.remainingTimeMS - this.minRoundTripTime;
227 }
228
229 get remainingTimeMS() {
230 const timePassed = Math.trunc(performance.now()) - this.start;

Callers 5

makeCursorFunction · 0.45
maxTimeMS.test.tsFile · 0.45
cursor.test-d.tsFile · 0.45

Calls

no outgoing calls

Tested by 1

makeCursorFunction · 0.36