Skip to content

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>

Name
uint32_tfailedCount
Nodes that threw exceptions.
uint32_tdroppedCount
Nodes we couldn’t schedule (queue overflow).
uint32_tcompletedCount
Nodes that ran successfully.
boolallCompleted
True only if every single node succeeded.
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);
}
uint32_t failedCount = 0;

Nodes that threw exceptions.

uint32_t droppedCount = 0;

Nodes we couldn’t schedule (queue overflow).

uint32_t completedCount = 0;

Nodes that ran successfully.

bool allCompleted = false;

True only if every single node succeeded.


Updated on 2026-01-26 at 17:14:35 -0500