LocalTimestampProvider class
Implements a local timestamp provider for testing purposes.
Remarks
This implementation does not derive from TimestampProvider
class as it doesn't need to be started.
Constructors
Local |
Methods
get |
|
get |
Constructor Details
LocalTimestampProvider(boolean)
new LocalTimestampProvider(noWarn?: boolean)
Parameters
- noWarn
-
boolean
Method Details
getMaxTimestampError()
function getMaxTimestampError(): number
Returns
number
getTimestamp()
function getTimestamp(): number
Returns
number
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for