diff --git a/doc/reference/reference_lua/box_events.rst b/doc/reference/reference_lua/box_events.rst index 6d8cca795..0dcadf759 100644 --- a/doc/reference/reference_lua/box_events.rst +++ b/doc/reference/reference_lua/box_events.rst @@ -68,7 +68,7 @@ Below is a list of all functions and pages related to watchers or events. - Create a local watcher. * - :ref:`box.watch_once() ` - - Create a local watcher for a single use. + - Get the current key value. * - :ref:`conn:watch() ` - Create a watcher for the remote host. diff --git a/doc/reference/reference_lua/box_events/watch_once.rst b/doc/reference/reference_lua/box_events/watch_once.rst index 8a367a859..b7fbca665 100644 --- a/doc/reference/reference_lua/box_events/watch_once.rst +++ b/doc/reference/reference_lua/box_events/watch_once.rst @@ -7,14 +7,13 @@ box.watch_once() Returns the current value of a given notification key. The function can be used as an alternative to :ref:`box.watch() ` - for cases when the caller only needs to retrieve the current value without - subscribing to future changes. + when the caller only needs the current value without subscribing to future changes. :param string key: key name :return: the key value - To read more about watchers, see the :ref:`Functions for watchers ` section. + To read more about watchers, see the :ref:`box-watchers` section. **Example:**