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
Latest
type alias EventHandler
import { type EventHandler } from "https://deno.land/x/caviar@2.6.9/src/events/EventManager.ts";

Type Parameters

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