Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FAsyncTaskBase
Description
Cancel the task, if possible. Note that this is different than abandoning (which is called by the thread pool at shutdown).
| Name | Cancel |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Async/AsyncWork.h |
| Include Path | #include "Async/AsyncWork.h" |
bool Cancel()
true if the task was canceled and is safe to delete. If it wasn't canceled, it may be done, but that isn't checked here.