Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/api/timers.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand All @@ -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}
Expand Down