Search
Preparing search index...
The search index is not available
@btilford/ts-base - v1.1.0
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
EagerDuration
Class EagerDuration
Hierarchy
NanoTimeMeasurement
EagerDuration
EagerPeriod
Implements
TimeMeasurement
Duration
Index
Constructors
constructor
Accessors
elapsed
Methods
as
Milliseconds
as
Nanoseconds
from
Millis
from
Nanoseconds
Constructors
constructor
new
Eager
Duration
(
start
:
Nanoseconds
, end
:
Nanoseconds
)
:
EagerDuration
Parameters
start:
Nanoseconds
end:
Nanoseconds
Returns
EagerDuration
Accessors
elapsed
get
elapsed
(
)
:
TimeMeasurement
Returns
TimeMeasurement
Methods
as
Milliseconds
as
Milliseconds
(
truncate
?:
boolean
)
:
Milliseconds
Parameters
Default value
truncate:
boolean
= false
Returns
Milliseconds
as
Nanoseconds
as
Nanoseconds
(
)
:
Nanoseconds
Returns
Nanoseconds
Static
from
Millis
from
Millis
(
millis
:
number
)
:
TimeMeasurement
Parameters
millis:
number
Returns
TimeMeasurement
Static
from
Nanoseconds
from
Nanoseconds
(
nanos
:
Nanoseconds
)
:
TimeMeasurement
Parameters
nanos:
Nanoseconds
Returns
TimeMeasurement
Globals
Eager
Duration
constructor
elapsed
as
Milliseconds
as
Nanoseconds
from
Millis
from
Nanoseconds
Generated using
TypeDoc