diff options
| author | 2022-11-29 02:42:56 -0800 | |
|---|---|---|
| committer | 2022-11-29 02:42:56 -0800 | |
| commit | b631ea7d725a42954c577ea686ae711ef04f63e1 (patch) | |
| tree | 37852a650a0ec02fd6042919dc476c7dab550529 /src/bun.js/event_loop.zig | |
| parent | 7b59d9d97c4d4543d8fe2a2222781d7b89539fc2 (diff) | |
| download | bun-b631ea7d725a42954c577ea686ae711ef04f63e1.tar.gz bun-b631ea7d725a42954c577ea686ae711ef04f63e1.tar.zst bun-b631ea7d725a42954c577ea686ae711ef04f63e1.zip | |
import everything from "bun" where possible
Diffstat (limited to 'src/bun.js/event_loop.zig')
| -rw-r--r-- | src/bun.js/event_loop.zig | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bun.js/event_loop.zig b/src/bun.js/event_loop.zig index d83bd3575..f9f11c943 100644 --- a/src/bun.js/event_loop.zig +++ b/src/bun.js/event_loop.zig @@ -1,10 +1,10 @@ const std = @import("std"); -const JSC = @import("javascript_core"); +const JSC = @import("bun").JSC; const JSGlobalObject = JSC.JSGlobalObject; const VirtualMachine = JSC.VirtualMachine; const Lock = @import("../lock.zig").Lock; const Microtask = JSC.Microtask; -const bun = @import("../global.zig"); +const bun = @import("bun"); const Environment = bun.Environment; const Fetch = JSC.WebCore.Fetch; const WebCore = JSC.WebCore; @@ -21,8 +21,8 @@ const JSValue = JSC.JSValue; const js = JSC.C; pub const WorkPool = @import("../work_pool.zig").WorkPool; pub const WorkPoolTask = @import("../work_pool.zig").Task; -const NetworkThread = @import("http").NetworkThread; -const uws = @import("uws"); +const NetworkThread = @import("bun").HTTP.NetworkThread; +const uws = @import("bun").uws; pub fn ConcurrentPromiseTask(comptime Context: type) type { return struct { @@ -209,7 +209,7 @@ pub const ConcurrentTask = struct { } }; -const AsyncIO = @import("io"); +const AsyncIO = @import("bun").AsyncIO; pub const EventLoop = struct { tasks: Queue = undefined, |
