fn read(self: *Loop, fd: os.fd_t, buf: []u8, simulate_evented: bool) os.ReadError!usize

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

Parameters

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