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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback