diff options
| author | 2022-10-03 01:09:16 -0700 | |
|---|---|---|
| committer | 2022-10-03 01:09:16 -0700 | |
| commit | 47007621326c5537b9d5d2a11eaa7dc086fc6a82 (patch) | |
| tree | f86c78f714ec9942b32c8ebf9326843590eeeb30 /src/bun.js/event_loop.zig | |
| parent | 08d606c3d7ff5accd881b016d51291af54164f06 (diff) | |
| download | bun-47007621326c5537b9d5d2a11eaa7dc086fc6a82.tar.gz bun-47007621326c5537b9d5d2a11eaa7dc086fc6a82.tar.zst bun-47007621326c5537b9d5d2a11eaa7dc086fc6a82.zip | |
`Bun.spawn` start to implement support for buffered input (ArrayBuffer, Response, Request body)
Diffstat (limited to 'src/bun.js/event_loop.zig')
| -rw-r--r-- | src/bun.js/event_loop.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bun.js/event_loop.zig b/src/bun.js/event_loop.zig index 4c36f1c05..76206de54 100644 --- a/src/bun.js/event_loop.zig +++ b/src/bun.js/event_loop.zig @@ -519,7 +519,7 @@ pub const Poller = struct { const FileBlobLoader = JSC.WebCore.FileBlobLoader; const FileSink = JSC.WebCore.FileSink; const Subprocess = JSC.Subprocess; - + const BufferedInput = Subprocess.BufferedInput; /// 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 @@ -527,6 +527,7 @@ pub const Poller = struct { FileBlobLoader, FileSink, Subprocess, + BufferedInput, }); const Kevent = std.os.Kevent; const kevent = std.c.kevent; |
