[−][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 (fd
). Yields.
fd
- non-blocking socket file descriptionevents
- requested events to wait. Combination of CoIOFlags::READ | CoIOFlags::WRITE bit flags.timeoout
- timeout in seconds.