/Engine/Plugins/Experimental/PCG/Source/PCG/Public/Helpers/PCGAsyncState.h
Helper class to gather information about asynchronus execution. Will be held in the PCGContext.
struct FPCGAsyncState
int32
AsyncCurrentReadIndex
For async process, keep track of where the processing is, in the input data(read) and output data(write).
int32
AsyncCurrentWriteIndex
bool
bIsRunningAsyncCall
True if currently inside a PCGAsync scope - will prevent further async processing
bool
bIsRunningOnMainThread
For multithreading, track if the current element is run on the main thread.
double
EndTime
For timeslicing, it will be set by the graph executor to know when we should stop.
int32
NumAvailableTasks
How many tasks are available to run async.