Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Async
Inheritance Hierarchy
- IQueuedWork
- TAsyncQueuedWork
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Async/Async.h |
| Include | #include "Async/Async.h" |
Syntax
template<typename ResultType>
class TAsyncQueuedWork : public IQueuedWork
Remarks
Template for asynchronous functions that are executed in the queued thread pool.
Constructors
| Type | Name | Description | |
|---|---|---|---|
TAsyncQueuedWork
(
TUniqueFunction< ResultType()>&& InFunction, |
Creates and initializes a new instance. |
Overridden from IQueuedWork
| Type | Name | Description | |
|---|---|---|---|
| void | Abandon () |
Tells the queued work that it is being abandoned so that it can do per object clean up as needed. | |
| void | This is where the real thread work is done. |