Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem
Inheritance Hierarchy
- FOnlineAsyncItem
- FOnlineAsyncTask
- FOnlineAsyncTaskThreadedGenericCallable
References
| Module | OnlineSubsystem |
| Header | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/OnlineAsyncTaskManager.h |
| Include | #include "OnlineAsyncTaskManager.h" |
Syntax
template<class CallableType>
class FOnlineAsyncTaskThreadedGenericCallable : public FOnlineAsyncTask
Remarks
An async task that can execute any callable type with no parameters. For example, l lambda, or an object with an operator(). Useful for calling simple functions that need to run on the ONLINE thread.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FOnlineAsyncTaskThreadedGenericCallable
(
const FString& InCallableName, |
Constructor. |
Overridden from FOnlineAsyncTask
| Type | Name | Description | |
|---|---|---|---|
| bool | IsDone () |
Check the state of the async task | |
| void | Tick () |
Give the async task time to do its work Can only be called on the async task manager thread | |
| bool | Check the success of the async task |