Commit aa4dc99 1 parent 85dbd8f commit aa4dc99 Copy full SHA for aa4dc99
File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -455,11 +455,12 @@ added: REPLACEME
455
455
* ` events ` {number} Number of events that have been processed by the event handler.
456
456
* ` eventsWaiting ` {number} Number of events that were waiting to be processed when the event provider was called.
457
457
458
- This is an wrapper to the ` uv_metrics_info ` .
458
+ This is a wrapper to the ` uv_metrics_info ` function .
459
459
It returns the current set of event loop metrics.
460
460
461
- It's recommended to use this function inside a ` setImmediate ` to avoid
462
- collecting metrics before finishing all operations on current loop iteration.
461
+ It is recommended to use this function inside a function whose execution was
462
+ scheduled using ` setImmediate ` to avoid collecting metrics before finishing all
463
+ operations scheduled during the current loop iteration.
463
464
464
465
``` cjs
465
466
const { performance } = require (' node:perf_hooks' );
You can’t perform that action at this time.
0 commit comments