Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Online/OnlineSubsystem/Source/Public/OnlineAsyncTaskManager.h |
Include |
#include "OnlineAsyncTaskManager.h" |
class FOnlineAsyncItem
Base class of any async task that can be returned to the game thread by the async task manager May originate on the game thread, or generated by an external platform service callback from the online thread itself
Name | Description | ||
---|---|---|---|
|
double |
StartTime |
Time the task was created |
Name | Description | |
---|---|---|
|
FOnlineAsyncItem() |
Hidden on purpose |
Name | Description | |
---|---|---|
|
~FOnlineAsyncItem() |
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 |
|
|
double |
GetElapsedTime() |
Updates the amount of elapsed time this task has taken |
|
ToString() |
Get a human readable description of task |
|
|
TriggerDelegates() |
Async task is given a chance to trigger it's delegates |