TimeSpan

typealias TimeSpan = Duration

Represents a span of time, with milliseconds precision.

It is a value class wrapping Double instead of Long to work on JavaScript without allocations.