abstract struct
EventWinder::Handled
Defined in:
event-winder.cr
Constant Summary
-
HANDLERS =
[] of Channel(::Tuple(Time, String, Time, Time::Span, Time::Span, Bool))
Instance methods inherited from struct EventWinder
initialize
initialize
Constructor methods inherited from struct EventWinder
new
new
Class methods inherited from struct EventWinder
drain(timeout : Time::Span = 5.seconds) : Bool
drain,
handle_error(error : Exception, payload_inspect : String = "no payload")
handle_error,
pending_handlings : Int32
pending_handlings
Macros inherited from struct EventWinder
emit(type, *payload)
emit,
handle_errors_with(&block)
handle_errors_with,
on(type, capacity = 0, &block)
on,
register(type, payload = nil, error_handler = nil)
register