aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--091_async8.zig20
1 files changed, 0 insertions, 20 deletions
diff --git a/091_async8.zig b/091_async8.zig
deleted file mode 100644
index 5f9e19b..0000000
--- a/091_async8.zig
+++ /dev/null
@@ -1,20 +0,0 @@
-//
-// Perhaps you have been wondering why we have always called 'suspend'
-// with an expression in the form of an empty block:
-//
-// suspend {}
-//
-// well,
-//
-const print = @import("std").debug.print;
-
-pub fn main() void {
-
- var my_beef = getBeef(0);
-
- print("beef? {X}!\n", .{my_beef});
-}
-
-fn getBeef(input: u32) u32 {
- suspend {}
-}