Versions in this module Expand all Collapse all v0 v0.1.0 Jul 13, 2022 Changes in this version + const DefaultMaxListeners + var ErrNoneFunction = errors.New("Kind of Value for listener is not Func.") + type Emitter struct + func NewEmitter() (emitter *Emitter) + func (emitter *Emitter) AddListener(event, listener interface{}) *Emitter + func (emitter *Emitter) Emit(event interface{}, arguments ...interface{}) *Emitter + func (emitter *Emitter) GetListenerCount(event interface{}) (count int) + func (emitter *Emitter) Off(event, listener interface{}) *Emitter + func (emitter *Emitter) On(event, listener interface{}) *Emitter + func (emitter *Emitter) Once(event, listener interface{}) *Emitter + func (emitter *Emitter) RecoverWith(listener RecoveryListener) *Emitter + func (emitter *Emitter) RemoveListener(event, listener interface{}) *Emitter + func (emitter *Emitter) SetMaxListeners(max int) *Emitter + type RecoveryListener func(interface{}, interface{}, error)