Skip to content

Commit e459955

Browse files
committed
vm: add pumpMessageLoop
1 parent d959ef8 commit e459955

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/engines/v8/v8.zig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ pub const VM = struct {
8282
v8.deinitV8Platform();
8383
self.platform.deinit();
8484
}
85+
86+
pub fn pumpMessageLoop(self: *const VM, env: *const Env, wait: bool) bool {
87+
log.debug("pumpMessageLoop", .{});
88+
return self.platform.pumpMessageLoop(env.isolate, wait);
89+
}
8590
};
8691

8792
pub const Env = struct {

0 commit comments

Comments
 (0)