tractor/tractor
Tyler Goodlet 52627a6326 Rework interface: pass func and kwargs
After more extensive testing I realized that keying on the context
manager *instance id* isn't going to work since each entering task is
going to create a unique key XD

Instead pass the manager function as `acm_func` and optionally allow
keying the resource on the passed `kwargs` (if hashable) or the
`key:str`. Further, pass the key to the enterer task and avoid
a separate keying scheme for the manager versus the value it delivers.
Don't bother with checking and releasing the lock in `finally:` block,
it should be an error if it's still locked.
2021-12-16 18:02:03 -05:00
..
testing Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
trionics Rework interface: pass func and kwargs 2021-12-16 18:02:03 -05:00
__init__.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_actor.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_child.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_clustering.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_debug.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_discovery.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_entry.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_exceptions.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_forkserver_override.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_ipc.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_mp_fixup_main.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_portal.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_root.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_spawn.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_state.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_streaming.py Set eoc on closure (again) 2021-12-16 16:19:15 -05:00
_supervise.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
log.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
msg.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00