···1414// * Once you call group.async(), you MUST eventually call
1515// group.await() or group.cancel() to release resources.
1616// * group.cancel() requests cancellation on ALL members,
1717-// then waits for them to finish.
1717+// then blocks until they all finish.
1818//
1919// Unlike Future, Group tasks don't return values to the caller.
2020// They're ideal for parallel work that communicates through
···38383939 // Wait for all tasks to finish.
4040 // What Group method blocks until all tasks complete?
4141- try group.???
4141+ try group.???(io);
42424343 print("All tasks finished!\n", .{});
4444}
+3-3
patches/patches/088_async4.patch
···11---- exercises/088_async4.zig 2026-04-01 23:17:31.066443941 +0200
22-+++ answers/088_async4.zig 2026-04-01 23:17:39.251612131 +0200
11+--- exercises/088_async4.zig 2026-04-06 12:22:06.643385622 +0200
22++++ answers/088_async4.zig 2026-04-06 12:22:11.820491035 +0200
33@@ -38,7 +38,7 @@
4455 // Wait for all tasks to finish.
66 // What Group method blocks until all tasks complete?
77-- try group.???
77+- try group.???(io);
88+ try group.await(io);
991010 print("All tasks finished!\n", .{});