Home > @infiniteobjects/core-library-web > Duration > fromNowHr
Return the amount of Milliseconds passed since startTime
Signature:
static fromNowHr(startTime: HRTime): Milliseconds;
Parameter | Type | Description |
---|---|---|
startTime | HRTime | Start time (high resolution) from node.hrtime() |
Returns:
Milliseconds
This is a high resolution diff, used for clocks and microtasks