Skip to content

Commit ca7fc4d

Browse files
committed
update dc locks documentation
1 parent 8ce0c9b commit ca7fc4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/diagnostics_channel.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1455,8 +1455,8 @@ Emitted when a lock is successfully granted and the callback is about to run.
14551455
* `name` {string} The name of the requested lock resource.
14561456
* `mode` {string} The lock mode: `'exclusive'` or `'shared'`.
14571457

1458-
Emitted when `ifAvailable` is `true` and the lock is not immediately available.
1459-
The callback is invoked with `null` instead of a `Lock` object.
1458+
Emitted when `ifAvailable` is `true` and the lock is not immediately available,
1459+
and the request callback is invoked with `null` instead of a `Lock` object.
14601460

14611461
##### Event: `'locks.request.end'`
14621462

0 commit comments

Comments
 (0)