| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 224a647 commit 2649c38
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -321,6 +321,9 @@ added: v0.0.1 | |||
| 321 | 321 | Cancels a `Timeout` object created by [`setTimeout()`][]. | |
| 322 | 322 | ||
| 323 | 323 | ## Timers Promises API | |
| 324 | + <!-- YAML | ||
| 325 | + added: v15.0.0 | ||
| 326 | + --> | ||
| 324 | 327 | ||
| 325 | 328 | > Stability: 1 - Experimental | |
| 326 | 329 | ||
@@ -333,6 +336,9 @@ const timersPromises = require('timers/promises'); | |||
| 333 | 336 | ``` | |
| 334 | 337 | ||
| 335 | 338 | ### `timersPromises.setTimeout([delay[, value[, options]]])` | |
| 339 | + <!-- YAML | ||
| 340 | + added: v15.0.0 | ||
| 341 | + --> | ||
| 336 | 342 | ||
| 337 | 343 | * `delay` {number} The number of milliseconds to wait before resolving the | |
| 338 | 344 | `Promise`. **Default**: `1`. | |
@@ -345,6 +351,9 @@ const timersPromises = require('timers/promises'); | |||
| 345 | 351 | cancel the scheduled `Timeout`. | |
| 346 | 352 | ||
| 347 | 353 | ### `timersPromises.setImmediate([value[, options]])` | |
| 354 | + <!-- YAML | ||
| 355 | + added: v15.0.0 | ||
| 356 | + --> | ||
| 348 | 357 | ||
| 349 | 358 | * `value` {any} A value with which the `Promise` is resolved. | |
| 350 | 359 | * `options` {Object} | |
| Back | FazBrowse Home | New Git URL |
0 commit comments