[−][src]Function tarantool_module::coio::coio_wait
pub fn coio_wait(fd: RawFd, flags: CoIOFlags, timeout: f64) -> Result<(), Error>
Wait until READ
or WRITE
event on socket (\a fd). Yields.
fd
- non-blocking socket file descriptionevents
- requested events to wait. Combination ofTNT_IO_READ | TNT_IO_WRITE
bit flags.timeoout
- timeout in seconds.