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

x/caviar/web/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.4.8/web/src/events/EventManager.ts";

Type Parameters

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