diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2020-06-23 17:12:52 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2020-06-24 04:50:15 +0300 |
commit | 8ada27510dd5a2269dfc2af2777365be8b2d02ac (patch) | |
tree | 38c9bf861e592acd4265517df62b9442b365169b /doc/api/timers.md | |
parent | 336546b075edc068f7d8daf7c04d92a530d94ba4 (diff) |
doc: add missing backticks in timers.md
PR-URL: https://github.com/nodejs/node/pull/34030
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'doc/api/timers.md')
-rw-r--r-- | doc/api/timers.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/timers.md b/doc/api/timers.md index de983b83ba9..e66cade8950 100644 --- a/doc/api/timers.md +++ b/doc/api/timers.md @@ -314,7 +314,7 @@ that return `Promise` objects. The API is accessible via const timersPromises = require('timers/promises'); ``` -### `timersPromises.setTimeout(delay\[, value\[, options\]\]) +### `timersPromises.setTimeout(delay\[, value\[, options\]\])` * `delay` {number} The number of milliseconds to wait before resolving the `Promise`. @@ -326,7 +326,7 @@ const timersPromises = require('timers/promises'); * `signal` {AbortSignal} An optional `AbortSignal` that can be used to cancel the scheduled `Timeout`. -### `timersPromises.setImmediate(\[value\[, options\]\]) +### `timersPromises.setImmediate(\[value\[, options\]\])` * `value` {any} A value with which the `Promise` is resolved. * `options` {Object} |