Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
Include |
#include "UObject/UObjectGlobals.h" |
Source |
/Engine/Source/Runtime/CoreUObject/Private/Serialization/AsyncPackageLoader.cpp |
EAsyncPackageState::Type ProcessAsyncLoadingUntilComplete
(
TFunctionRef< bool()> CompletionPredicate,
double TimeLimit
)
Blocks and runs ProcessAsyncLoading until the time limit is hit, the completion predicate returns true, or all async loading is done
The minimum state of any of the queued packages.
Parameter |
Description |
---|---|
CompletionPredicate |
If this returns true, stop loading. This is called periodically as long as loading continues |
TimeLimit |
Hard time limit. 0 means infinite length |