Optional
onThe error handling function to call when an error occurs.
The start function called when all listeners are started.
The stop function called when all listeners are stopped.
Protected
emitEmits a state change event with the given value.
The state value to emit.
A simple listener that emits a constant value immediately when started