FAsyncDirectoryReader::FAsyncDirectoryReader

Constructor that sets up the directory reader to the specified directory

Windows
MacOS
Linux

References

Module

DirectoryWatcher

Header

/Engine/Source/Developer/DirectoryWatcher/Public/FileCache.h

Include

#include "FileCache.h"

Source

/Engine/Source/Developer/DirectoryWatcher/Private/FileCache.cpp

Syntax

FAsyncDirectoryReader
(
    const FString & InDirectory,
    EPathType InPathType
)

Remarks

Constructor that sets up the directory reader to the specified directory

Threading strategy for FAsyncDirectoryReader: The directory reader owns the cached and live state until it has completely finished. Once IsComplete() is true, the main thread can have access to both the cached and farmed data.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss