class Nya::EventHandler

Overview

Event handler class

Defined in:

nya/event.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(&proc : Event -> ) #

[View source]

Instance Method Detail

def call(e : Event) #

Call handler


[View source]
def id : Int64 #

Handler ID


[View source]