diff options
| author | Ibrahim Muftee <ibrahim@muftee.net> | 2026-06-30 00:30:23 -0500 |
|---|---|---|
| committer | Ibrahim Muftee <ibrahim@muftee.net> | 2026-06-30 00:30:23 -0500 |
| commit | 3a80e12466086b895f42e7befaa4b4428208301e (patch) | |
| tree | 54ed86c75ad342d1a12a4bdd01cbac75e95d5516 /exercises/089_async5.zig | |
| parent | f3c00ec9a5f262396d50be9694a273b665628c42 (diff) | |
Diffstat (limited to 'exercises/089_async5.zig')
| -rw-r--r-- | exercises/089_async5.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/089_async5.zig b/exercises/089_async5.zig index 0c00c1f..c1ac0e4 100644 --- a/exercises/089_async5.zig +++ b/exercises/089_async5.zig @@ -46,7 +46,7 @@ pub fn main(init: std.process.Init) !void { // We don't want to wait 10 seconds! // Which Future method requests cancellation AND returns the result? - const result = future.???(io); + const result = future.cancel(io); print("Task returned: {}\n", .{result}); } |
