Optional
If true, the listener will be automatically unsubscribed after being called once.
Default is false.
Optional priority used to order listeners when events are dispatched.
Higher values are invoked before lower values. Listeners with the same priority are invoked in the order they were registered.
Default is 0.
If true, the listener will be automatically unsubscribed after being called once.
Default is false.