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...
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.