Using AsyncTasks/Returning Data

Input a Delegate function as a parameter for the FAsyncTask, and execute it from within the Task. Delegates are thread-safe, but editing values, spawning Actors or Objects, or making almost any wri...

Updated over 4 years ago Edit Page Revisions

Input a Delegate function as a parameter for the FAsyncTask, and execute it from within the Task. Delegates are thread-safe, but editing values, spawning Actors or Objects, or making almost any write of any kind is generally going to result in crashes or, at the very least, inconsistent behavior.

UE4 Documentation on Delegates