File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines 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}
You can’t perform that action at this time.
0 commit comments