Async Blueprints Plugin v1.0.0
AsyncBlueprints
Loading...
Searching...
No Matches
UAsyncTaskNode Class Reference

Asynchronous blueprint node for executing tasks on a named thread. More...

#include <AsyncTaskNode.h>

Public Member Functions

 UAsyncTaskNode (const FObjectInitializer &ObjectInitializer=FObjectInitializer::Get())
 Constructor for the UAsyncTaskNode class.
 
 UFUNCTION (BlueprintCallable, Category="Async|Nodes", meta=(WorldContext="InWorldContextObject"), meta=(BlueprintInternalUseOnly="true")) static UAsyncTaskNode *AsyncTask(UObject *InWorldContextObject
 Static method to initiate an asynchronous task on a specific named thread.
 

Detailed Description

Asynchronous blueprint node for executing tasks on a named thread.

This class represents an asynchronous blueprint node that can execute a task on a specific named thread (such as the Game thread or the RHI thread). It uses a delegate system to notify when the async task starts and completes.

Constructor & Destructor Documentation

◆ UAsyncTaskNode()

UAsyncTaskNode::UAsyncTaskNode ( const FObjectInitializer & ObjectInitializer = FObjectInitializer::Get())

Constructor for the UAsyncTaskNode class.

Parameters
ObjectInitializerInitialization object, default is the global object initializer.

Member Function Documentation

◆ UFUNCTION()

UAsyncTaskNode::UFUNCTION ( BlueprintCallable ,
Category = "Async|Nodes",
meta = (WorldContext="InWorldContextObject"),
meta = (BlueprintInternalUseOnly="true") )

Static method to initiate an asynchronous task on a specific named thread.

Starts an asynchronous task using the specified named thread for execution.

Parameters
InWorldContextObjectThe context object in which the task is executed.
InNamedThreadThe named thread where the task should execute (default is GameThread).
Note
The 'Completed' event will be executed in the same thread as specified by the 'Thread' parameter.
Returns
A UAsyncTaskNode object.

The documentation for this class was generated from the following files: