box.ctl.wait_rw() | Tarantool

box.ctl.wait_rw()

box.ctl.wait_rw([timeout])

Wait until box.info.ro is false.

Parameters:
  • timeout (number) – maximum number of seconds to wait
Return:

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

Example:

tarantool> box.ctl.wait_rw(0.1)
---
...
Found what you were looking for?
Feedback