Tarantool CE/EE Documentation portal logo
Support
Updated at September 7, 2026   01:25 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 an error that 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...