MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / ParallelTasksCompleted

Method ParallelTasksCompleted

lib/macro/macro.cpp:584–599  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

582}
583
584bool Macro::ParallelTasksCompleted() const
585{
586 // A parallel action run might be triggered by RunInParallel() or the
587 // "Run Macro" button, so checking just for RunInParallel() will not
588 // suffice
589 if (!CheckInParallel() && !_actionRunFuture.valid()) {
590 return true;
591 }
592 if (_actionRunFuture.valid()) {
593 return false;
594 }
595 if (CheckInParallel() && _conditionCheckFuture.valid()) {
596 return false;
597 }
598 return true;
599}
600
601MacroInputVariables Macro::GetInputVariables() const
602{

Callers 1

Calls 1

validMethod · 0.45

Tested by

no test coverage detected