Tarantool CE/EE Documentation portal logo
Support
Updated at July 17, 2026   02:08 PM

box.ctl.wait_ro()

wait_ro([timeout])

Wait until box.info.ro is true.

Parameters:

  • timeout (number) — maximum number of seconds to wait

Returns

nil, or error may be thrown due to timeout or fiber cancellation

Example:

tarantool> box.info().ro---- false...tarantool> n = box.ctl.wait_ro(0.1)---- error: timed out...