Class LocalTimerWrapper<T, M>
Properties
Protected Readonly _enabled
Readonly name
name: string
Protected Readonly options
Readonly rawName
rawName: string
Protected Readonly store
store: M
Protected Readonly timerFactory
Methods
enabled
- enabled(key?: undefined | string): boolean
-
Parameters
-
Optional key: undefined | string
Returns boolean
wrap
- wrap(func: (...args: unknown[]) => T): (...args: unknown[]) => T
-
Parameters
-
func: (...args: unknown[]) => T
Returns (...args: unknown[]) => T