class EventHandler::AddHandlerEvent

Overview

Meta event, emitted whenever a handler is added for any event, including itself.

Defined in:

Constructors

Instance Method Summary

Constructor Detail

def self.new(event : ::EventHandler::Event.class, handler : EventHandler::Wrapper(Proc(Event, Bool))) #

Instance Method Detail

def clone #

def copy_with(event _event = @event, handler _handler = @handler) #

def event : ::EventHandler::Event.class #

def handler : EventHandler::Wrapper(Proc(Event, Bool)) #