Navigation
API > API/Runtime > API/Runtime/InterchangeCore > API/Runtime/InterchangeCore/FInterchangeTaskSystem
Description
Cancel a task, you can control if you cancel also the prerequisites, and subsequents. Canceling a task that is waiting will simply push it state to Done which will allow subsequent to be executed.
| Name | CancelTask |
| Type | function |
| Header File | /Engine/Source/Runtime/Interchange/Core/Public/InterchangeTaskSystem.h |
| Include Path | #include "InterchangeTaskSystem.h" |
| Source | /Engine/Source/Runtime/Interchange/Core/Private/InterchangeTaskSystem.cpp |
void CancelTask
(
const uint64 TaskId,
const bool bCancelPrerequisites
)