Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Async/AsyncWork.h |
Include |
#include "Async/AsyncWork.h" |
bool Cancel()
Cancel the task, if possible. Note that this is different than abandoning (which is called by the thread pool at shutdown).
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.