Unsubscribe a event, if the callback param is not defined, all subscribers of this type will be removed.
Optionalcallback: SubscriberCallbackFnsubscriber callback
Subscribe a event
event type
callback functions
Optionaloptions: { options
Optionalpriority?: PriorityOptionaltarget?: anySubscribe a event, just emit once
subscriber callback
Optionalpriority?: PriorityOptionaltarget?: any
Event Dispatcher
Export
EventDispatcher
Date
2023.12.26
Author
yisky