MCPcopy
hub / github.com/infinitered/reactotron / delay

Function delay

lib/reactotron-core-client/test/plugin-benchmark.test.ts:8–8  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

6
7// a promise based delay that's not accurate at all
8const delay = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms))
9
10test("adds benchmarks to a report", async () => {
11 const client = createClient({ createSocket }).use(plugin())

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected