uvMetricsInfo
This is a wrapper to the uv_metrics_info
function. It returns the current set of event loop metrics.
It is recommended to use this property inside a function whose execution was scheduled using setImmediate
to avoid collecting metrics before finishing all operations scheduled during the current loop iteration.
Since
v22.8.0, v20.18.0