Navigation
API > API/Runtime > API/Runtime/AssetRegistry > API/Runtime/AssetRegistry/IAssetRegistry
Description
Runs ActiveMountsRegisterAndLoadFilePathSynchronous on an async thread and calls OnComplete when done. OnComplete is called from an async thread, and in game error cases might be called after IAssetRegistry is shutdown. Caller should handle thread safety and should check for IAssetRegistry::Get != nullptr if it is used in their callback.
| Name | ActiveMountsRegisterAndLoadFilePathAsync |
| Type | function |
| Header File | /Engine/Source/Runtime/AssetRegistry/Public/AssetRegistry/IAssetRegistry.h |
| Include Path | #include "AssetRegistry/IAssetRegistry.h" |
void ActiveMountsRegisterAndLoadFilePathAsync
(
FStringView StateFilePath,
TFunction< void(bool bSucceeded)> OnComplete,
UE::Tasks::ETaskPriority TaskPriority
)