You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had seen some comments of this in the past but was wondering if it was solved.
Is there a way to make the onExecute method pause the node's processing until an asynchronous operation, like a fetch request, is completed? This would allow the node to pass the fetched information to the next node in the graph once the data is ready.
The text was updated successfully, but these errors were encountered:
Hi @TheShoes
The graph itself is running continuously (if in play). That means every node (if mode enables it) runs once per frame.
To use asynch operations there is the event system, you can use action slot to call the execution (using onAction callback) and when that is completed trigger an output event slot.
I use onExecute method to update the outputs and refresh the inputs and similar things, while if prefer using actions for anything that is not very light.
I had seen some comments of this in the past but was wondering if it was solved.
Is there a way to make the onExecute method pause the node's processing until an asynchronous operation, like a fetch request, is completed? This would allow the node to pass the fetched information to the next node in the graph once the data is ready.
The text was updated successfully, but these errors were encountered: