/Engine/Source/Runtime/AssetRegistry/Public/AssetRegistry/IAssetRegistry.h
Wait for scan to be complete. If called during editor startup before OnPostEngineInit, and there are any assets that use classes in not-yet-loaded plugin modules, WaitForCompletion will return silently with those assets still ungathered.
void WaitForCompletion()