Module io

Source
Expand description

<dispatch/io.h>

Structs§

IO
Lifetime-managed dispatch channel.
UnmanagedIO
dispatch_fd_t
dispatch type for file descriptor
dispatch_io_close_flags_t
dispatch_io_type_t

Functions§

read_completion
Calls dispatch_read with the specified completion handler. You can use a blocksr::continuation to wrap this in an async method if desired.
write_completion
Calls dispatch_write with the specified completion handler. You can use a blocksr::continuation to wrap this in an async method if desired.