Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/FOnlineAsyncTaskManager
References
Module | OnlineSubsystem |
Header | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/OnlineAsyncTaskManager.h |
Include | #include "OnlineAsyncTaskManager.h" |
template<class CallableType>
void AddGenericToInQueue
&40;
const CallableType & InCallable
&41;
Remarks
Add a new item to the in queue that will call InCallable on the game thread. Very useful when passing in lambdas as parameters, since this function will automatically deduce the template parameter type for FOnlineAsyncItemGenericCallable.
Unlike AddGenericToOutQueue, this version is useful when you want to ensure that the callable will only execute after any existing tasks in the queue are complete.
Parameters
Name | Description |
---|---|
InCallable | the callable object to execute on the game thread. |