Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EventCallback ¶
type HandlerList ¶
func (*HandlerList[A, B]) Call ¶
func (l *HandlerList[A, B]) Call(a A, b B)
func (*HandlerList[A, B]) On ¶
func (l *HandlerList[A, B]) On(cb func(A, B)) (cancel func())
func (*HandlerList[A, B]) Once ¶
func (l *HandlerList[A, B]) Once(cb func(A, B)) (cancel func())
Click to show internal directories.
Click to hide internal directories.