feat: task manager endpoint, updated documentation
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include "NodeContext.h"
|
||||
#include <ArduinoJson.h>
|
||||
|
||||
// Forward declarations to avoid multiple definition errors
|
||||
class Task;
|
||||
@@ -45,6 +46,9 @@ public:
|
||||
bool isTaskRunning(const std::string& name) const;
|
||||
unsigned long getTaskInterval(const std::string& name) const;
|
||||
|
||||
// Get comprehensive task status information
|
||||
std::vector<std::pair<std::string, JsonObject>> getAllTaskStatuses(JsonDocument& doc) const;
|
||||
|
||||
// Management methods
|
||||
void initialize();
|
||||
void enableAllTasks();
|
||||
|
||||
Reference in New Issue
Block a user