Skip to content
instance method

IO#wait_priority

io.wait_priority → truthy or falsy
io.wait_priority(timeout) → truthy or falsy

Waits until IO is priority and returns a truthy value or a falsy value when times out. Priority data is sent and received using the Socket::MSG_OOB flag and is typically limited to streams.

See also #wait #wait_readable #ungetc #wait_writable also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0