EntropyEngine::Core::Concurrency::WorkGraph::WaitResult
EntropyEngine::Core::Concurrency::WorkGraph::WaitResult
Section titled “EntropyEngine::Core::Concurrency::WorkGraph::WaitResult”What you get back from wait() - the final score of your graph execution. More…
#include <WorkGraph.h>
Public Attributes
Section titled “Public Attributes”| Name | |
|---|---|
| uint32_t | failedCount Nodes that threw exceptions. |
| uint32_t | droppedCount Nodes we couldn’t schedule (queue overflow). |
| uint32_t | completedCount Nodes that ran successfully. |
| bool | allCompleted True only if every single node succeeded. |
Detailed Description
Section titled “Detailed Description”struct EntropyEngine::Core::Concurrency::WorkGraph::WaitResult;What you get back from wait() - the final score of your graph execution.
This tells you how your workflow went: did everything finish? Did some tasks fail? Were any dropped due to capacity issues? It’s like a report card for your parallel execution.
auto result = graph.wait();if (result.allCompleted) { LOG_INFO("Perfect run! All {} nodes completed", result.completedCount);} else { LOG_WARN("Issues detected: {} failed, {} dropped", result.failedCount, result.droppedCount);}Public Attributes Documentation
Section titled “Public Attributes Documentation”variable failedCount
Section titled “variable failedCount”uint32_t failedCount = 0;Nodes that threw exceptions.
variable droppedCount
Section titled “variable droppedCount”uint32_t droppedCount = 0;Nodes we couldn’t schedule (queue overflow).
variable completedCount
Section titled “variable completedCount”uint32_t completedCount = 0;Nodes that ran successfully.
variable allCompleted
Section titled “variable allCompleted”bool allCompleted = false;True only if every single node succeeded.
Updated on 2026-01-26 at 17:14:35 -0500