class Console::Event::Generic

def as_json(...)

def as_json(...)
	to_hash
end

def emit(*arguments, **options)

def emit(*arguments, **options)
	Console.call(*arguments, event: self, **options)
end

def to_json(...)

def to_json(...)
	JSON.generate(as_json, ...)
end

def to_s

def to_s
	to_json
end