| 554 | } |
| 555 | |
| 556 | void FTaskGroup::ExecScopeIterations(const FScope& Scope, const bool bPrepareOnly) const |
| 557 | { |
| 558 | if (!IsAvailable()) { return; } |
| 559 | |
| 560 | if (OnSubLoopStartCallback) { OnSubLoopStartCallback(Scope); } |
| 561 | |
| 562 | if (bPrepareOnly) { return; } |
| 563 | |
| 564 | for (int i = Scope.Start; i < Scope.End; i++) { OnIterationCallback(i, Scope); } |
| 565 | } |
| 566 | |
| 567 | void FSimpleCallbackTask::ExecuteTask(const TSharedPtr<FTaskManager>& AsyncManager) |
| 568 | { |