Skip to content

Commit

Permalink
doc: add "tick" function name and argument description
Browse files Browse the repository at this point in the history
PR-URL: #23551
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
  • Loading branch information
arur authored and jasnell committed Oct 17, 2018
1 parent 1471023 commit 3ad2267
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/common/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,11 @@ should not be in scope when `listener.ongc()` is created.
The `tick` module provides a helper function that can be used to call a callback
after a given number of event loop "ticks".

### tick(x, cb)

* `x` [&lt;number>] Number of event loop "ticks".
* `cb` [&lt;Function>] A callback function.

## tmpdir Module

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

0 comments on commit 3ad2267

Please sign in to comment.