Skip to content

struct Athena::EventDispatcher::Callable::EventListenerInstance(I, E)
inherits Athena::EventDispatcher::Callable #

Represents a dedicated type based listener using AEDA::AsEventListener annotations.

Constructors#

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

Methods#

#instance : I#

Returns the listener instance this callable is associated with.