MCPcopy Create free account
hub / github.com/brainflow-dev/brainflow / sleep

Function sleep

nodejs_package/tests/transforms.ts:10–13  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

8} from 'brainflow';
9
10function sleep (ms: number)
11{
12 return new Promise ((resolve) => { setTimeout (resolve, ms); });
13}
14
15async function runExample (): Promise<void>
16{

Callers 1

runExampleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected