MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / delay

Function delay

app/rcc/api/SerialStudio.js:49–49  ·  view source on GitHub ↗
(ms)

Source from the content-addressed store, hash-verified

47function apiCall(method, params) { return __ss_bridge.call(method, params || {}); }
48function apiCallList() { return __ss_bridge.listCommands(); }
49function delay(ms) { if (__ss_bridge.delay) __ss_bridge.delay(ms); }
50// deviceWriteAndWait(data, timeoutMs, until, source): write then block the worker
51// (never the GUI) until the reply satisfies `until` -- a terminator string, an
52// expected byte length (number), or undefined for the first non-empty reply --

Callers 1

loopFunction · 0.85

Calls 1

delayMethod · 0.80

Tested by

no test coverage detected