FAsyncTask::EnsureCompletion

Wait until the job is complete

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Async/AsyncWork.h

Include

#include "Async/AsyncWork.h"

Syntax

void EnsureCompletion
(
    bool bDoWorkOnThisThreadIfNotStarted
)

Remarks

Wait until the job is complete

Parameters

Parameter

Description

bDoWorkOnThisThreadIfNotStarted

if true and the work has not been started, retract the async task and do it now on this thread

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss