goodboy / tractor

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

Nursery per `trionics.maybe_open_context()` #329

Closed goodboy closed 1 year ago

goodboy commented 2 years ago

So avoid using the actor's global service nursery and instead allocate local nurseries per manager-def-instance set.

This also adds key: Callable[..., Hashable] support and moves maybe_open_nursery() into this trionics._mngrs.py module.

Needs to be rebased to master obviously.

goodboy commented 1 year ago

In favor of #336