Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Async > API/Runtime/Core/Async/FAsyncTaskBase
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Async/AsyncWork.h |
| Include | #include "Async/AsyncWork.h" |
void EnsureCompletion
(
bool bDoWorkOnThisThreadIfNotStarted,
bool bIsLatencySensitive
)
Remarks
Wait until the job is complete
Parameters
| Name | Description |
|---|---|
| bDoWorkOnThisThreadIfNotStarted | if true and the work has not been started, retract the async task and do it now on this thread |
| specifies | if waiting for the task should return as soon as possible even if this delays other tasks |