'structured concurrent `trio`-"actors"'
https://github.com/goodboy/tractor
209a6a2096
Cancellation requires that each actor cancel it's spawned subactors before cancelling its own root (nursery's) cancel scope to avoid breaking channel connections before kill commands (`Actor.cancel()`) have been sent off to peers. To solve this, ensure each main task is cancelled to completion first (which will guarantee that all actor nurseries have completed their cancellation steps) before cancelling the actor's "core" tasks under the "root" scope. |
||
---|---|---|
tests | ||
tractor | ||
.gitignore | ||
LICENSE | ||
README.md | ||
requirements-test.txt | ||
setup.py |
README.md
tractor
async, multicore, distributed Python built on trio