From 446da3ce5a1d5ea12bffe5a8b12eaad94e8afeee Mon Sep 17 00:00:00 2001 From: Chris Boesch Date: Mon, 6 Apr 2026 12:22:41 +0200 Subject: improvements for async-io --- exercises/088_async4.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'exercises/088_async4.zig') diff --git a/exercises/088_async4.zig b/exercises/088_async4.zig index 50829fc..8298ca1 100644 --- a/exercises/088_async4.zig +++ b/exercises/088_async4.zig @@ -14,7 +14,7 @@ // * Once you call group.async(), you MUST eventually call // group.await() or group.cancel() to release resources. // * group.cancel() requests cancellation on ALL members, -// then waits for them to finish. +// then blocks until they all finish. // // Unlike Future, Group tasks don't return values to the caller. // They're ideal for parallel work that communicates through @@ -38,7 +38,7 @@ pub fn main(init: std.process.Init) !void { // Wait for all tasks to finish. // What Group method blocks until all tasks complete? - try group.??? + try group.???(io); print("All tasks finished!\n", .{}); } -- cgit v1.2.3