now property

  1. @override
Int64 get now
override

The current time, in nanoseconds since Unix Epoch.

Note that this time may be inaccurate if the executing system is suspended for sleep. See https://github.com/open-telemetry/opentelemetry-js/issues/852 for more information.

Implementation

@override
Int64 get now => fromDOMHighResTimeStamp(window.performance.now());