Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/caviar/src/events/EventManager.ts>EventHandler

⚡ Blazing fast, modern, Game Engine powered by WebGPU for Deno and the browser
Go to Latest
type alias EventHandler
import { type EventHandler } from "https://deno.land/x/caviar@2.2.2/src/events/EventManager.ts";

Type Parameters

optional
T extends Event = Event
definition: (data: T) => void