Optionaloptions: Partial<AutoResetControllerImplOptions>ReadonlydepsReadonlylogA string prefix for all log statements made by this target.
Clears this object.
Dispatches an event.
The key of the event within EventMap
If the passed event is read-only, then it may be re-used/cached. Otherwise, it should be a new event object every dispatch. If no target property is set on the event, the target will be set to this host.
Returns true if the event host has any listeners.
Returns true if the event host has any listeners for the given type.
Adds an event handler for the given typed event.
The key representing the event type to listen for.
A callback to invoke when the event with the given type is dispatched.
Optionaloptions: SignalOptionsOptions for changing listening behavior.
Returns a method, when invoked, removes the handler.
Sets the current playback error and begins monitoring for retry opportunities.
Only SERVICE_INTERNAL ReportableErrors are monitored. Subsequent calls while an error is already set are ignored until the error is cleared via reset or clear().
After a reset, if another error occurs, this method should be called again to schedule the next retry attempt.
The error to monitor for retry opportunities
Notifies when playback should be reset and retried.
The controller monitors for retry opportunities after an error is set:
Each error triggers a single timeout. If another error occurs after a reset, setError() should be called again to schedule the next retry attempt.