Optional
defaultOptional
logThe function used to log start and end events.
Optional
context?: stringOptional
duration?: numberOptional
id?: stringOptional
maxThe maximum number of in-progress timespans to hold in memory before evicting the oldest. Defaults to 500.
Optional
maxThe maximum number of historical entries to hold in memory before evicting the oldest. Invoke .takeEntries()
regularly to process timing. Defaults to 1000.
Optional
timeThe object used to determine the current time.
Generated using TypeDoc
The default options to use for each timer entry.