Repository navigation
Io.Group.wait replaced with Io.Group.awaitUncancelable - #2546
Merged
Merged
Conversation
Member
|
it just got introduced but fyi |
Contributor
Author
Haha, I should've known 😄 Thanks for the heads-up! I guess I can become better-in-the-know myself by taking a stab at how cancellation is supposed to work here. |
Contributor
Author
|
From what I gather, we don't care about |
Member
|
As far as I know, you should generally let the cancellation error bubble up the call stack instead of ignoring it. |
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/fd0ca39c92fdb4012ed8d60e1683c26fddadd136?narHash=sha256-DegN7KD/EtFSKXf2jvqL6lvev6GlfAAatYBcRC8goEo%3D' (2025-12-25)
→ 'github:NixOS/nixpkgs/40ee5e1944bebdd128f9fbada44faefddfde29bd?narHash=sha256-0MnuWoN%2Bn1UYaGBIpqpPs9I9ZHW4kynits4mrnh1Pk4%3D' (2025-12-29)
• Updated input 'zig-overlay':
'github:mitchellh/zig-overlay/d0d74182d45d3dea8eee91c8fb8e7f735306349e?narHash=sha256-lCw6MKbf1XbGB8m4EwVACm4IyIBThg2JI1ysqYZ2gc4%3D' (2025-12-29)
→ 'github:mitchellh/zig-overlay/501956cc4a633fdc744dc4cdd88ce12c65b7fc65?narHash=sha256-rNGKx9KO30dKt1wfpf6F0DrUaqp4jRZoqUi6%2BFy32yM%3D' (2026-01-05)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Io.Group.waitdoesn't exist as of (at least)zig-0.16.0-dev.1889+4ad8bc341. My guess is thatIo.Group.awaitUncancelableis the correct analogue, since all the tests pass and everything seem to work properly. Whether or not it's desirable having (a)wait being "uncancelable", I leave it as an exercise for those better in the know.Edit: Whoops, there is no such thing as
std.Group.