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

Function sleep

nodejs_package/tests/brainflow_get_data.ts:3–6  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

1import {BoardIds, BoardShim} from 'brainflow';
2
3function sleep (ms: number)
4{
5 return new Promise ((resolve) => { setTimeout (resolve, ms); });
6}
7
8async function runExample (): Promise<void>
9{

Callers 1

runExampleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected