fn write(self: *Loop, fd: os.fd_t, bytes: []const u8, simulate_evented: bool) os.WriteError!usize

Performs an async os.write using a separate thread. fd must block and not return EAGAIN.

Parameters

self: *Loop,
fd: os.fd_t,
bytes: []const u8,
simulate_evented: bool,