async: use zig-async-io

Signed-off-by: Francis Bouvier <francis@lightpanda.io>
This commit is contained in:
Francis Bouvier
2024-11-21 12:27:00 +01:00
parent 70752027f1
commit de286dd78e
48 changed files with 24 additions and 14125 deletions

View File

@@ -30,6 +30,7 @@ const apiweb = @import("apiweb.zig");
pub const Types = jsruntime.reflect(apiweb.Interfaces);
pub const UserContext = apiweb.UserContext;
pub const IO = @import("asyncio").Wrapper(jsruntime.Loop);
// Default options
const Host = "127.0.0.1";