Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Async/Async.h |
Include |
#include "Async/Async.h" |
TAsyncRunnable
(
TUniqueFunction< ResultType()> && InFunction,
TPromise< ResultType > && InPromise,
TFuture< FRunnableThread * > && InThreadFuture
)
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. |
InThreadFuture |
The thread that is running this task. |