Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem
Inheritance Hierarchy
- FOnlineAsyncItem
- FOnlineAsyncTask
- FOnlineAsyncTaskGenericCallable
References
| Module | OnlineSubsystem |
| Header | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/OnlineAsyncTaskManager.h |
| Include | #include "OnlineAsyncTaskManager.h" |
Syntax
template<class CallableType>
class FOnlineAsyncTaskGenericCallable : 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 game thread, but are invoked from an online service thread.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FOnlineAsyncTaskGenericCallable
(
const CallableType& InCallable |
Constructor. |
Overridden from FOnlineAsyncTask
| Type | Name | Description | |
|---|---|---|---|
| bool | IsDone () |
Check the state of the async task | |
| bool | Check the success of the async task |