Module coio
Source Expand description
Cooperative input/output
See also:
- CoIOFlags
- Event type(s) to wait. Can be
READ
or/and WRITE
- 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
- 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)
.