/Engine/Plugins/AI/MLAdapter/Source/MLAdapter/Public/MLAdapterAsync.h
Sends InFunction to be called on the GameThread and waits for the result
template<typename RetType> RetType CallOnGameThread ( [TFunction](API\Runtime\Core\GenericPlatform\TFunction)< RetType()> InFunction )