OptionaldebugOptional log string to identify the listener in console logs.
OptionalignoreIf true, fires all listeners once immediately when the component mounts
or when the source changes, allowing initialization based on current model state.
OptionaltransactionalWhether the listener takes part in the operation that notifies it.
true when the listener is added during an operation - a listener added as a
consequence of one is part of it - and false otherwise.
A transactional listener:
A non-transactional listener:
Options for
ModelListenerOptionshook.Remarks
This is extends IListener.Options but removes 'once' since hooks are evaluated on render and adds a
ignoreModelChangeoption.