mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-08 07:50:00 +00:00
improvements for async-io
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
--- exercises/088_async4.zig 2026-04-01 23:17:31.066443941 +0200
|
||||
+++ answers/088_async4.zig 2026-04-01 23:17:39.251612131 +0200
|
||||
--- exercises/088_async4.zig 2026-04-06 12:22:06.643385622 +0200
|
||||
+++ answers/088_async4.zig 2026-04-06 12:22:11.820491035 +0200
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
// Wait for all tasks to finish.
|
||||
// What Group method blocks until all tasks complete?
|
||||
- try group.???
|
||||
- try group.???(io);
|
||||
+ try group.await(io);
|
||||
|
||||
print("All tasks finished!\n", .{});
|
||||
|
||||
Reference in New Issue
Block a user