diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2026-10-26 17:15:16 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2026-10-26 17:15:16 +0100 |
| commit | d38e1ffb1533565ecea6dd83cca88d36690fadef (patch) | |
| tree | 4946ffec374d8d0353a909b2ae314b81cbf07031 /src/zilch/app/root.document.zig | |
| parent | 8dd8f96b24710dc4f2d29065928244a40a432379 (diff) | |
zilch: implement async
Diffstat (limited to 'src/zilch/app/root.document.zig')
| -rw-r--r-- | src/zilch/app/root.document.zig | 2 |
1 files changed, 1 insertions, 1 deletions
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 ++ "}"; |