Skip to content

struct Athena::EventDispatcher::Callable::EventDispatcher(E)
inherits Athena::EventDispatcher::Callable #

Represents a listener that accepts both the ACTR::EventDispatcher::Event instance and the AED::EventDispatcherInterface instance. Such as when using AED::EventDispatcherInterface#listener(event_class,*,priority,&), or the AED::Event.callable method.

Constructors#

.new(callback : E, AED::EventDispatcherInterface -> Nil, priority : Int32 = 0, name : String | Nil = nil, event_class : E.class = E)#

View source