Creates a new message counter with a random start value. If a aboutToRolloverCallback is provided this counter is not allowed to rollover and the callback is called before a rollover would happen. Optionally provide a number of messages before the rollover callback is called (Default 1000).
Optional
aboutToRolloverCallback: (() => void)Optional
rolloverInfoDifference: number
Represents a message counter which gets randomly initialized and then incremented for each message. Rollover can be allowed or forbidden and a callback can be provided to be notified before a rollover would happen.