Choose your operating system:
Windows
macOS
Linux
| FOnlineAsyncItem
|
Module |
|
Header |
/Engine/Plugins/Online/OnlineSubsystem/Source/Public/OnlineAsyncTaskManager.h |
Include |
#include "OnlineAsyncTaskManager.h" |
template<class CallableType>
class FOnlineAsyncTaskGenericCallable : public FOnlineAsyncTask
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.
Name | Description | |
---|---|---|
|
FOnlineAsyncTaskGenericCallable ( |
Constructor. |
Name | Description | ||
---|---|---|---|
|
IsDone() |
Check the state of the async task |
|
|
WasSuccessful() |
Check the success of the async task |
Name | Description | ||
---|---|---|---|
|
Finalize() |
Give the async task a chance to marshal its data back to the game thread Can only be called on the game thread by the async task manager |
|
|
ToString() |
Get a human readable description of task |