Replies: 3 comments
-
This can be done with dependencies. You create an I should make this into an example, along with some more documentation. |
Beta Was this translation helpful? Give feedback.
-
I have some troubles following your advice. Before I call Then I call However, I get the assert when I add second task as dependency: Maybe I cannot add another dependency when the first dependency is already running? |
Beta Was this translation helpful? Give feedback.
-
Yes, all dependencies must be added before they are run. This is because the first task could complete before the second task was added, causing the dependent task to complete. I am considering an approach to add dependencies dynamically to a dependent task, but this is not yet implemented. |
Beta Was this translation helpful? Give feedback.
-
I am in need of something inbetween
WaitforAll()
andWaitforTask(nullptr, priority)
.In my pipeline, user code dumps a lot of tasks with highest priority and then makes sure they all completed (but not low priority background tasks!).
I struggle to port this behavior to enkiTS. Any hints?
Beta Was this translation helpful? Give feedback.
All reactions