MCPcopy Create free account
hub / github.com/BruceDevices/firmware / takeQueuedCommand

Function takeQueuedCommand

src/modules/wifi/clients.cpp:314–321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312}
313
314String takeQueuedCommand() {
315 String command;
316 withClientLock([&]() {
317 command = queuedCommand;
318 queuedCommand = "";
319 });
320 return command;
321}
322
323String takeQueuedOutput() {
324 String output;

Callers 2

sshWorkerTaskFunction · 0.85
telnetWorkerTaskFunction · 0.85

Calls 1

withClientLockFunction · 0.85

Tested by

no test coverage detected