Skip to content

Commit 2a98b9c

Browse files
arurMylesBorins
authored andcommitted
doc: add "tick" function name and argument description
Backport-PR-URL: #23780 PR-URL: #23551 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Denys Otrishko <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent 4733a56 commit 2a98b9c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/common/README.md

+5
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,11 @@ should not be in scope when `listener.ongc()` is created.
750750
The `tick` module provides a helper function that can be used to call a callback
751751
after a given number of event loop "ticks".
752752

753+
### tick(x, cb)
754+
755+
* `x` [&lt;number>] Number of event loop "ticks".
756+
* `cb` [&lt;Function>] A callback function.
757+
753758
## tmpdir Module
754759

755760
The `tmpdir` module supports the use of a temporary directory for testing.

0 commit comments

Comments
 (0)