Optional
dispatchControls when callbacks are executed.
The default value is async
.
Optional
onceIf true
, the subscription will be removed after the first invocation (default: false
).
The subscription can still be removed manually by destroying the handle returned by on.
Options supported by on.