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

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

OnlineSubsystem

Header

/Engine/Plugins/Online/OnlineSubsystem/Source/Public/OnlineAsyncTaskManager.h

Include

#include "OnlineAsyncTaskManager.h"

Syntax

class FOnlineAsyncItem

Remarks

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

Variables

Name Description

Protected variable

double

 

StartTime

Time the task was created

Constructors

Name Description

Protected function

FOnlineAsyncItem()

Hidden on purpose

Destructors

Name Description

Public function Virtual

~FOnlineAsyncItem()

Functions

Name Description

Public function Virtual

void

 

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

Public function

double

 

GetElapsedTime()

Updates the amount of elapsed time this task has taken

Public function Const

FString

 

ToString()

Get a human readable description of task

Public function Virtual

void

 

TriggerDelegates()

Async task is given a chance to trigger it's delegates

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss