module Athena::EventDispatcher::StoppableEvent
Overview
An AED::Event
whose processing may be interrupted when the event has been handled.
AED::EventDispatcherInterface
implementations MUST check to determine if an AED::Event
is marked as stopped after each listener is called. If it is, then the AED::EventListenerType
should
return immediately without calling any further AED::EventListenerType
.
Direct including types
Defined in:
stoppable_event.crInstance Method Summary
-
#propagate? : Bool
If future
AED::EventListenerType
should be executed. -
#stop_propagation : Nil
Prevent future
AED::EventListenerType
from executing once any listener calls#stop_propagation
onself
.
Instance Method Detail
def stop_propagation : Nil
#
Prevent future AED::EventListenerType
from executing once
any listener calls #stop_propagation
on self
.