HRTime

sealed external interface HRTime(source)

Functions

Link copied to clipboard
abstract fun bigint(): BigInt

The bigint version of the {@link process.hrtime()} method returning the current high-resolution real time in nanoseconds as a bigint.

Link copied to clipboard
abstract operator fun invoke(time: Tuple2<Double, Double> = definedExternally): Tuple2<Double, Double>

This is the legacy version of {@link process.hrtime.bigint()} before bigint was introduced in JavaScript.