goodboy / tractor

A distributed, structured concurrent runtime for Python (and friends)
GNU Affero General Public License v3.0
270 stars 12 forks source link

We might not need `ActorNursery._join_procs: trio.Event` in the long run #301

Open goodboy opened 2 years ago

goodboy commented 2 years ago

Digging in deep with #165 I noticed the only reason we need this "nursery is now exited by parent event was due to the .run_in_actor() style task-per-actor API we're debating dropping as in #290. Without this event, errors from remote actors are effectively raised right away since there is no collection of task per actor* style teardown - this is the cause of a test suite massacre if I just remove it and run the CI 😂

If we were to remove this:

More thinking to do on this fo sho 🏄🏼