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

Function apiCall

app/rcc/api/SerialStudio.js:47–47  ·  view source on GitHub ↗
(method, params)

Source from the content-addressed store, hash-verified

45// wrapper below routes through apiCall. delay() exists only where the host
46// bridge provides it (the control script's worker thread).
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

Callers 1

SerialStudio.jsFile · 0.85

Calls 1

callMethod · 0.45

Tested by

no test coverage detected