Scheduler to sync, Commands to async

This commit is contained in:
proddy
2026-06-09 23:04:41 +02:00
parent 423515ec37
commit 0406ee0529
5 changed files with 187 additions and 44 deletions

View File

@@ -233,7 +233,7 @@ void WebStatusService::action(AsyncWebServerRequest * request, JsonVariant json)
} else if (action == "upgradeImportantMessages") {
root["upgradeImportantMessageType"] = upgradeImportantMessages(param);
} else if (action == "executeCommand") {
ok = EMSESP::webCommandService.executeCommand(param.c_str());
ok = EMSESP::webCommandService.dispatchCommand(param.c_str()); // command worker task (ok = dispatched); fast internal commands run inline (ok = real result)
}
#if defined(EMSESP_STANDALONE) && !defined(EMSESP_UNITY)