summaryrefslogtreecommitdiff
path: root/exercises/095_quiz_async.zig
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/095_quiz_async.zig')
-rw-r--r--exercises/095_quiz_async.zig5
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!