WebTimeProvider class

BrowserTimeProvider retrieves high-resolution timestamps utilizing the window.performance API.

See DOMHighResTimeStamp for more information.

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.

Implemented types

Constructors

WebTimeProvider()

Properties

hashCode int
The hash code for this object.
no setterinherited
now → Int64
The current time, in nanoseconds since Unix Epoch.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited