Module: modules/Timer

Classes

Timer

Type Definitions

Interval

A representation of the session state. null indicates that a session has not been started or has ended. A numeric ID indicates that a session has started. false indicates that a session is paused.

Type:
  • null | number | false
Source:

SessionSegment

A segment of time in which the active session was running. Contains a minimum of one property with the key start, which is assigned the return value of performance.now() when a session is started. A second property with the key end, is assigned the return value of performance.now() when a session is paused.

Type:
  • Object.<string, number>
Properties:
Name Type Description
start number

The time at which the session was started.

end number

The time at which the session was paused.

Source:

Timestamp

A numeric timestamp returned by performance.now().

Type:
  • number
Source: