Skip to content
Closed
Changes from 1 commit
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
Next Next commit
doc: deprecate NaN or negative number as delay
Refs: #46678
  • Loading branch information
jakecastelli committed May 15, 2024
commit 7603d2ed80baf5731ee88b4a8a7b64638eb39699
8 changes: 8 additions & 0 deletions doc/api/timers.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,10 @@ This method has a custom variant for promises that is available using
<!-- YAML
added: v0.0.1
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/46678
Comment thread
jakecastelli marked this conversation as resolved.
Outdated
description: Passing `NaN` or negative number as `delay` will result
the process to emit a warning, the warning will only be emitted once per process.
Comment thread
jakecastelli marked this conversation as resolved.
Outdated
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: Passing an invalid callback to the `callback` argument
Expand Down Expand Up @@ -252,6 +256,10 @@ This method has a custom variant for promises that is available using
<!-- YAML
added: v0.0.1
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/46678
description: Passing `NaN` or negative number as `delay` will result
the process to emit a warning, the warning will only be emitted once per process.
- version: v18.0.0
pr-url: https://github.com/nodejs/node/pull/41678
description: Passing an invalid callback to the `callback` argument
Expand Down