FOnlineAsyncTask

A single task for an online service to be queued with the async task manager Originates on the game thread

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

OnlineSubsystem

Header

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

Include

#include "OnlineAsyncTaskManager.h"

Syntax

class FOnlineAsyncTask : public FOnlineAsyncItem

Remarks

A single task for an online service to be queued with the async task manager Originates on the game thread

Constructors

Name Description

Protected function

FOnlineAsyncTask()

Hidden on purpose

Destructors

Name Description

Public function Virtual

~FOnlineAsyncTask()

Functions

Name Description

Public function Virtual

void

 

Initialize()

Initialize the task - called on game thread when queued

Public function Const

bool

 

IsDone()

Check the state of the async task

Public function Virtual

void

 

Tick()

Give the async task time to do its work Can only be called on the async task manager thread

Public function Const

bool

 

WasSuccessful()

Check the success of the async task

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