/Engine/Source/Runtime/Core/Public/Misc/TrackedActivity.h
Register listener that can track adds, removes and changes when they happen. Listener will be called from the same thread as the event happens, so make sure listener is threadsafe.
static void RegisterEventListener ( [TUniqueFunction](API\Runtime\Core\Templates\TUniqueFunction)< void([EEvent](API\Runtime\Core\Misc\FTrackedActivity\EEvent)Event, const [FInfo](API\Runtime\Core\Misc\FTrackedActivity\FInfo) &Info)> && Func, uint32 MaxDepth )