/Engine/Source/Runtime/Core/Public/Misc/ScopedEvent.h
Usage: {FScopedEventMyEvent; SendReferenceOrPointerToSomeOtherThread(&MyEvent); // Other thread calls MyEvent->Trigger(); // MyEvent destructor is here, we wait here. }
class FScopedEvent