-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support AnyIO #101
Support AnyIO #101
Conversation
for more information, see https://pre-commit.ci
Well, having the test suite pass would be a start :) |
I know, that's why I suspect I'm missing something 😄 |
Meanwhile you can describe for me how you see the startup and shutdown sequences of nested components working with this approach. |
👍 will do but later, it's late here. |
The application starts with a top-level task group, that is passed to the root component, and that is used to start it with a timeout. Each |
f7ec4a0
to
427d0b4
Compare
I'll take a closer look at this on the weekend. I really, really want structured concurrency in Asphalt ASAP. |
Closing in favor of #102. |
@agronholm I know that you're working on the 5.0 branch, and you have probably been thinking about lots of things that I'm not even aware of, but I've been playing with this PR and the following example code, and it seems to work pretty well.
In #97 you seem to have taken another direction by treating tasks as resources, which is not what I do here, so I'm wondering what I am missing.