/Engine/Source/Developer/DirectoryWatcher/Public/FileCache.h
while(!Reader.IsComplete()) { FPlatformProcess::Sleep(1); Reader.Tick(FTimedSignal(1)); // Do 1 second of work } TOptionalState = Reader.GetFinalState();
struct FAsyncDirectoryReader : public [DirectoryWatcher::IAsyncFileCacheTask](API\Developer\DirectoryWatcher\IAsyncFileCacheTask)