Skip to content

Commit 90a4105

Browse files
committed
Fix
1 parent c87600d commit 90a4105

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

doc/reference/reference_lua/box_events.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Below is a list of all functions and pages related to watchers or events.
6868
- Create a local watcher.
6969

7070
* - :ref:`box.watch_once() <box-watch>`
71-
- Create a local watcher for a single use.
71+
- Get the current key value.
7272

7373
* - :ref:`conn:watch() <conn-watch>`
7474
- Create a watcher for the remote host.

doc/reference/reference_lua/box_events/watch_once.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,13 @@ box.watch_once()
77

88
Returns the current value of a given notification key.
99
The function can be used as an alternative to :ref:`box.watch() <box-watch>`
10-
for cases when the caller only needs to retrieve the current value without
11-
subscribing to future changes.
10+
when the caller only needs the current value without subscribing to future changes.
1211

1312
:param string key: key name
1413

1514
:return: the key value
1615

17-
To read more about watchers, see the :ref:`Functions for watchers <box-watchers>` section.
16+
To read more about watchers, see the :ref:`box-watchers` section.
1817

1918
**Example:**
2019

0 commit comments

Comments
 (0)