Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Async/Async.h |
Include |
#include "Async/Async.h" |
TAsyncGraphTask
(
TUniqueFunction< ResultType()> && InFunction,
TPromise< ResultType > && InPromise,
ENamedThreads::Type InDesiredThread
)
Creates and initializes a new instance.
Parameter |
Description |
---|---|
InFunction |
The function to execute asynchronously. |
InPromise |
The promise object used to return the function's result. |