![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <Async.h>
Inheritance diagram for TAsyncRunnable< ResultType >:Public Member Functions | |
| TAsyncRunnable (TUniqueFunction< ResultType()> &&InFunction, TPromise< ResultType > &&InPromise, TFuture< FRunnableThread * > &&InThreadFuture) | |
| virtual uint32 | Run () override |
Public Member Functions inherited from FRunnable | |
| virtual bool | Init () |
| virtual void | Stop () |
| virtual void | Exit () |
| virtual class FSingleThreadRunnable * | GetSingleThreadInterface () |
| virtual | ~FRunnable () |
Template for asynchronous functions that are executed in a separate thread.
|
inline |
Creates and initializes a new instance.
| 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. |
|
overridevirtual |