This doesn’t need another post, so I’ll just paste updates in here for those that miss out on github. The big news is that this approach is now working for lists & trees! Basically for each run of the component, we keep track of all the child tasks it creates, and then we set the outputs at the other end.
Look at those prime numbers going! Also got this question whether this approach uses up all your cores:
The answer is yes! The default task scheduler takes care of all that. We’ve also allowed you to give it some hints re TaskCreationOptions
(see docs) if you know in advance how your computation will behave. You can set them in the components that inherit from the GH_AsyncComponent
class.
If you like this, don’t forget to star the repo