Module coio
Source Expand description
Cooperative input/output
See also:
- CoIOListener
- Uses CoIO main loop to poll incoming connections from wrapped socket listener
- CoIOStream
- Uses CoIO main loop to poll read/write events from wrapped socket
- Receiver
- The receiving half of channel.
- Sender
- The sending half of channel.
- channel
- Creates a new asynchronous channel, returning the sender/receiver halves.
- coio_call
- Create new eio task with specified function and
arguments. Yield and wait until the task is complete
or a timeout occurs.
- coio_wait
- Wait until
READ
or WRITE
event on socket (fd
). Yields. - getaddrinfo⚠
- Fiber-friendly version of
getaddrinfo(3)
.