diff options
| author | Tom <git@halffull.org> | 2026-04-13 19:08:24 -0700 |
|---|---|---|
| committer | Tom <git@halffull.org> | 2026-04-13 19:11:39 -0700 |
| commit | b8a639e79836f916286c8d55e53a263cd782e8ab (patch) | |
| tree | 142e7016de7d03af4db0728985054537abd14c34 /exercises/095_quiz_async.zig | |
| parent | b9cbe199ab257cac447412cd924d4e833a9f7b7b (diff) | |
095_quiz_async: Add missing Bug 4
Diffstat (limited to 'exercises/095_quiz_async.zig')
| -rw-r--r-- | exercises/095_quiz_async.zig | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/exercises/095_quiz_async.zig b/exercises/095_quiz_async.zig index b116fc9..7c06168 100644 --- a/exercises/095_quiz_async.zig +++ b/exercises/095_quiz_async.zig @@ -97,9 +97,8 @@ pub fn main(init: std.process.Init) !void { // there's no more data coming. queue.close(io); - // Wait for the collector to drain the remaining queue. - _ = collector_future.await(io); - // _ = collector_future.???(io); + // Bug 4: How do we wait for the collector to drain the remaining queue? + _ = collector_future.???(io); // Now write the garden report. This is critical — it must // NOT be interrupted, even if something tries to cancel us! |
