adriangb / di

Pythonic dependency injection
https://www.adriangb.com/di/
MIT License
301 stars 13 forks source link

feat: try to cancel in progress concurrent tasks if one fails for DefaultExecutor #22

Closed adriangb closed 2 years ago

adriangb commented 3 years ago

Need to come up with a cohesive solution for both threads and tasks. Anyio kinda already does this automatically w/ cancel scopes, we need to do it manually for the ThreadPool

adriangb commented 2 years ago

We got rid of ConcurrentSyncExecutor, so this is no longer relevant