MCPcopy
hub / github.com/prisma/prisma / immediatelyReject

Function immediatelyReject

packages/client/src/runtime/utils/waitForBatch.ts:44–49  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

42 }
43
44 const immediatelyReject = (error: unknown) => {
45 if (!done) {
46 done = true
47 reject(error)
48 }
49 }
50
51 for (let i = 0; i < promises.length; i++) {
52 promises[i].then(

Callers 1

waitForBatchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected