MCPcopy
hub / github.com/prisma/prisma / wait

Function wait

packages/client/tests/functional/_utils/tests/wait.ts:3–7  ·  view source on GitHub ↗
(cb: () => void | Promise<void>, ms = 100)

Source from the content-addressed store, hash-verified

1import { delay } from './delay'
2
3export async function wait(cb: () => void | Promise<void>, ms = 100) {
4 await delay(ms)
5
6 return cb()
7}

Callers 1

query.tsFile · 0.90

Calls 1

delayFunction · 0.90

Tested by

no test coverage detected