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

Method reject

src/timeout.ts:118–120  ·  view source on GitHub ↗
(rejection?: Error)

Source from the content-addressed store, hash-verified

116 }
117
118 static override reject(rejection?: Error): Timeout {
119 return new Timeout(undefined, { duration: 0, unref: true, rejection });
120 }
121}
122
123/** @internal */

Callers 15

operations.tsFile · 0.80
cleanupMethod · 0.80
sessions.test.tsFile · 0.80
fnThatReturnsBadPromiseFunction · 0.80
updateEmployeeInfoFunction · 0.80
utils.test.tsFile · 0.80
timeoutForSocketWriteMethod · 0.80
timeoutForSocketReadMethod · 0.80

Calls

no outgoing calls

Tested by 2

fnThatReturnsBadPromiseFunction · 0.64
updateEmployeeInfoFunction · 0.64