diff options
author | Anna Henningsen <anna@addaleax.net> | 2019-09-07 19:09:17 +0200 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2019-09-12 22:07:25 +0200 |
commit | f62e7a93881e150efe5ac8c9e771611a128dc61c (patch) | |
tree | 886d336501c9e0174e1d497930adc3f30c38608e /doc | |
parent | b354d12599ea9e2b29e6b26dedae82b9b474d424 (diff) | |
download | node-new-f62e7a93881e150efe5ac8c9e771611a128dc61c.tar.gz |
doc: mention unit for process.hrtime.bigint()
The example states this already, but I would have expected this to be
part of the description, too.
PR-URL: https://github.com/nodejs/node/pull/29482
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/process.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/process.md b/doc/api/process.md index 0c2f61d16e..778abbb903 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -1339,7 +1339,7 @@ added: v10.7.0 * Returns: {bigint} The `bigint` version of the [`process.hrtime()`][] method returning the -current high-resolution real time in a `bigint`. +current high-resolution real time in nanoseconds as a `bigint`. Unlike [`process.hrtime()`][], it does not support an additional `time` argument since the difference can just be computed directly |