Creates a new `LiveEventTimer instance.
Event source that will be used to emit events.
Function used to construct an event to send. This will be called at regular intervals prior to sending an event.
Period to delay for in milliseconds.
Optional. If true the timer will repeat once start
is called, otherwise a single event will be sent after the delay. Defaults to false.
If true the event will automatically repeat at an interval specified by the delay
.
The rate at which the events are sent in milliseconds.
The rate at which the events are sent in milliseconds.
Returns true if the timer is currently running.
Immediately sends an event.
Starts the timer.
Stops the timer if its running.
Generated using TypeDoc
Periodically broadcasts an event to listening
LiveEventTarget
instances.