class EventHandler::AnyEvent

Overview

Meta event, emitted on every other event. Adding a handler for this event allows listening for all emitted events and their arguments.

Defined in:

events.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(event_type : ::EventHandler::Event.class, event : EventHandler::Event) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(event_type _event_type = @event_type, event _event = @event) #

[View source]
def event : EventHandler::Event #

def event_type : ::EventHandler::Event.class #