-
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
Trionics #241
Commits on Oct 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 340ddba - Browse repository at this point
Copy the full SHA 340ddbaView commit details -
Start
trionics
sub-pkg withasync_enter_all()
Since it seems we're building out more and more higher level primitives in order to support certain parallel style actor trees and messaging patterns (eg. task broadcast channels), we might as well start a new sub-package for purely `trio` constructions. We hereby dub this the realm of `trionics` (like electronics but for trios instead of electrons). To kick things off, add an `async_enter_all()` concurrent exit-stack-like context manager API which will concurrently spawn a sequence of provided async context managers and deliver their ordered results but with proper support for `trio` cancellation semantics. The stdlib's `AsyncExitStack` is not compatible with nurseries not `trio` tasks (which are cancelled) since as task will be suspended on the stack after push and does not ever hit a checkpoint until the stack is closed.
Configuration menu - View commit details
-
Copy full SHA for 680a841 - Browse repository at this point
Copy the full SHA 680a841View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4114eb1 - Browse repository at this point
Copy the full SHA 4114eb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e917fd - Browse repository at this point
Copy the full SHA 1e917fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 79fb1d0 - Browse repository at this point
Copy the full SHA 79fb1d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97006c9 - Browse repository at this point
Copy the full SHA 97006c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ba1031 - Browse repository at this point
Copy the full SHA 8ba1031View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ddd757 - Browse repository at this point
Copy the full SHA 9ddd757View commit details -
Configuration menu - View commit details
-
Copy full SHA for c372367 - Browse repository at this point
Copy the full SHA c372367View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76767a3 - Browse repository at this point
Copy the full SHA 76767a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d502ce - Browse repository at this point
Copy the full SHA 7d502ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 21afc69 - Browse repository at this point
Copy the full SHA 21afc69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2815f1c - Browse repository at this point
Copy the full SHA 2815f1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 73cbb23 - Browse repository at this point
Copy the full SHA 73cbb23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e6baf2 - Browse repository at this point
Copy the full SHA 6e6baf2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f9229c - Browse repository at this point
Copy the full SHA 6f9229cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3130a04 - Browse repository at this point
Copy the full SHA 3130a04View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1089db - Browse repository at this point
Copy the full SHA c1089dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for b7a4641 - Browse repository at this point
Copy the full SHA b7a4641View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04895b9 - Browse repository at this point
Copy the full SHA 04895b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 87e3d32 - Browse repository at this point
Copy the full SHA 87e3d32View commit details -
Configuration menu - View commit details
-
Copy full SHA for b91adcf - Browse repository at this point
Copy the full SHA b91adcfView commit details -
Merge pull request #252 from goodboy/246_facepalm_backup
Trionics improvements from @overclockworked64
Configuration menu - View commit details
-
Copy full SHA for 71b8f9f - Browse repository at this point
Copy the full SHA 71b8f9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5040035 - Browse repository at this point
Copy the full SHA 5040035View commit details -
Merge pull request #253 from overclockworked64/fix-type-annotation
Fix type annotations
Configuration menu - View commit details
-
Copy full SHA for ebf080b - Browse repository at this point
Copy the full SHA ebf080bView commit details
Commits on Oct 24, 2021
-
Change to
gather_contexts()
, use event for graceful exitThe api we've made here is actually closer to `asyncio.gather()` but with opening async context managers instead of funcs. Use another event to allow for graceful teardown of children on non-cancellation exits and add a doc string.
Configuration menu - View commit details
-
Copy full SHA for d0f5c7a - Browse repository at this point
Copy the full SHA d0f5c7aView commit details
Commits on Oct 25, 2021
-
Merge pull request #254 from goodboy/graceful_gather
Change to `gather_contexts()`, use event for graceful exit
Configuration menu - View commit details
-
Copy full SHA for 925af28 - Browse repository at this point
Copy the full SHA 925af28View commit details -
Configuration menu - View commit details
-
Copy full SHA for 083b73a - Browse repository at this point
Copy the full SHA 083b73aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c7f59bd - Browse repository at this point
Copy the full SHA c7f59bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 49dd230 - Browse repository at this point
Copy the full SHA 49dd230View commit details
Commits on Oct 27, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 6da7694 - Browse repository at this point
Copy the full SHA 6da7694View commit details -
Merge pull request #256 from overclockworked64/241-news-fragment
Add a news fragment
Configuration menu - View commit details
-
Copy full SHA for 9c13827 - Browse repository at this point
Copy the full SHA 9c13827View commit details