Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventEmitter ¶
type EventEmitter struct {
// contains filtered or unexported fields
}
func NewEventEmitter ¶
func NewEventEmitter() *EventEmitter
func (*EventEmitter) Emit ¶
func (q *EventEmitter) Emit(event EventType, params ...any)
func (*EventEmitter) On ¶
func (q *EventEmitter) On(event EventType, listener EventListener)
type EventListener ¶
type EventListener func(params ...any)
Click to show internal directories.
Click to hide internal directories.