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

x/aleph/server/deps.ts>mitt

The Full-stack Framework in Deno.
Go to Latest
function mitt
import { mitt } from "https://deno.land/x/aleph@1.0.0-beta.23/server/deps.ts";

Mitt: Tiny (~200b) functional event emitter / pubsub.

Type Parameters

Events extends Record<EventType, unknown>

Parameters

optional
all: EventHandlerMap<Events>