From d38e1ffb1533565ecea6dd83cca88d36690fadef Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Mon, 26 Oct 2026 17:15:16 +0100 Subject: zilch: implement async --- src/zilch/app/root.document.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/zilch/app/root.document.zig') diff --git a/src/zilch/app/root.document.zig b/src/zilch/app/root.document.zig index 8e2ca61..6191746 100644 --- a/src/zilch/app/root.document.zig +++ b/src/zilch/app/root.document.zig @@ -29,7 +29,7 @@ pub fn App(comptime options: Options) type { var buf: []const u8 = "ObjectStore.methods = {"; for (options.functions) |function| { - buf = buf ++ std.fmt.comptimePrint("{}: {s},", .{ function.id, function.content }); + buf = buf ++ std.fmt.comptimePrint("{}: {{await: {}, fn: {s}}},", .{ function.id, function.await, function.content }); } buf = buf ++ "}"; -- cgit v1.2.3-70-g09d2