aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/event_loop.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/bun.js/event_loop.zig')
-rw-r--r--src/bun.js/event_loop.zig7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/bun.js/event_loop.zig b/src/bun.js/event_loop.zig
index fc072d95e..ff3dfa9e7 100644
--- a/src/bun.js/event_loop.zig
+++ b/src/bun.js/event_loop.zig
@@ -475,12 +475,13 @@ pub const Poller = struct {
const linux = std.os.linux;
const FileBlobLoader = JSC.WebCore.FileBlobLoader;
-
+ const FileSink = JSC.WebCore.FileSink;
/// epoll only allows one pointer
/// We unfortunately need two pointers: one for a function call and one for the context
/// We use a tagged pointer union and then call the function with the context pointer
pub const Pollable = TaggedPointerUnion(.{
FileBlobLoader,
+ FileSink,
AsyncIO.Waker,
});
const Kevent = std.os.Kevent;
@@ -599,8 +600,6 @@ pub const Poller = struct {
pub const Flag = enum { read, write };
comptime {
- if (!JSC.is_bindgen) {
- @export(onTick, .{ .name = "Bun__internal_dispatch_ready_poll" });
- }
+ @export(onTick, .{ .name = "Bun__internal_dispatch_ready_poll" });
}
};