Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FTask_1
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool TryExpedite () |
Try to expedite the task, if possible it will run immediately but it will not set the completed state until the scheduler has executed it, because the scheduler still holds a reference. | Async/Fundamental/Task.h | |
bool TryExpedite
(
FTask*& Continuation |
Async/Fundamental/Task.h |
TryExpedite()
Description
Try to expedite the task, if possible it will run immediately but it will not set the completed state until the scheduler has executed it, because the scheduler still holds a reference. To check for completion in the context of expediting use WasExpedited. The TaskHandle cannot be reused until IsCompleted returns true.
| Name | TryExpedite |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Async/Fundamental/Task.h |
| Include Path | #include "Async/Fundamental/Task.h" |
bool TryExpedite()
Parameters
| Name | Remarks |
|---|---|
| Continuation | optional Continuation that needs to be executed or scheduled by the caller (can only be non null if the operation returned true) |
TryExpedite(FTask *&)
| Name | TryExpedite |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Async/Fundamental/Task.h |
| Include Path | #include "Async/Fundamental/Task.h" |
bool TryExpedite
(
FTask *& Continuation
)