Binds a subscriber function to an event with the supplied name.
Event name.
Subscriber to invoke when the event is emitted.
Optionaloptions: SubscriberOptionsOptional subscription options. If options.signal is
provided, the subscriber is automatically removed when the
signal is aborted.
Function to unbind the event.
Fires the named event, triggering any subscribers previously bound to it using the
.on()method. Arguments provided after the name are passed to the subscriber function.