1
0
Fork 0
tractor/tractor
Tyler Goodlet 7a719ac2a7 Use one nursery per unique manager (signature)
Instead of sticking all `trionics.maybe_open_context()` tasks inside the
actor's (root) service nursery, open a unique one per manager function
instance (id).

Further, accept a callable for the `key` such that a user can have
more flexible control on the caching logic and move the
`maybe_open_nursery()` helper out of the portal mod and into this
trionics "managers" module.
2022-10-09 21:27:23 -04:00
..
experimental Use built-ins for all data-structure-type annotations 2022-09-15 23:41:28 -04:00
trionics Use one nursery per unique manager (signature) 2022-10-09 21:27:23 -04:00
__init__.py Remove `tractor.run()` once and for all 2022-09-15 23:41:28 -04:00
_child.py Rename our core module to `_runtime` 2022-09-15 23:41:28 -04:00
_clustering.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_debug.py Use built-ins for all data-structure-type annotations 2022-09-15 23:41:28 -04:00
_discovery.py Use built-ins for all data-structure-type annotations 2022-09-15 23:41:28 -04:00
_entry.py 'Rename mp spawn methods to have a `'mp_'` prefix' 2022-10-09 17:54:55 -04:00
_exceptions.py Use built-ins for all data-structure-type annotations 2022-09-15 23:41:28 -04:00
_forkserver_override.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_ipc.py Use `str` | `bytes` union for typing msg dump 2022-07-12 11:59:11 -04:00
_mp_fixup_main.py Avoid importing mp for as long as possible 2022-02-17 11:55:26 -05:00
_portal.py Use one nursery per unique manager (signature) 2022-10-09 21:27:23 -04:00
_root.py Organize process spawning into lookup table 2022-10-09 16:51:21 -04:00
_runtime.py Expose lifetime stack as class attr, add base test suite 2022-09-15 23:50:15 -04:00
_spawn.py 'Rename mp spawn methods to have a `'mp_'` prefix' 2022-10-09 17:54:55 -04:00
_state.py Use built-ins for all data-structure-type annotations 2022-09-15 23:41:28 -04:00
_streaming.py Use built-ins for all data-structure-type annotations 2022-09-15 23:41:28 -04:00
_supervise.py Organize process spawning into lookup table 2022-10-09 16:51:21 -04:00
log.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
msg.py Make `process_messages()` a mod func 2022-09-15 23:41:28 -04:00
to_asyncio.py Log cancels with appropriate level 2022-07-27 11:40:02 -04:00