getHeapStatisticsAsync

fun getHeapStatisticsAsync(): ERROR CLASS: Symbol not found for Promise<node/v8/HeapInfo>(source)

This method returns a Promise that will resolve to an object identical to v8.getHeapStatistics(), or reject with an ERR_WORKER_NOT_RUNNING error if the worker is no longer running. This methods allows the statistics to be observed from outside the actual thread.

Since

v24.0.0