FOnlineAsyncTaskManager::AddGenericToInQueueOnlineThread

Add a new item to the in queue that will call InCallable on the ONLINE thread.

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

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

Include

#include "OnlineAsyncTaskManager.h"

Syntax

template<class CallableType>
void AddGenericToInQueueOnlineThread
(
    const CallableType & InCallable
)

Remarks

Add a new item to the in queue that will call InCallable on the ONLINE thread. Very useful when passing in lambdas as parameters, since this function will automatically deduce the template parameter type for FOnlineAsyncItemGenericCallable.

Unlike AddGenericToInQueue, this version runs the task on the online thread in Tick(), instead of Finalize on the game thread.

Parameters

Parameter

Description

InCallable

the callable object to execute on the game thread.

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