Wait until box.info.ro is true.
box.info.ro
Parameters:
timeout
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...
tarantool> box.info().ro
---
- false
...
tarantool> n = box.ctl.wait_ro(0.1)
- error: timed out