Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.26/server/deps.ts";

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

Type Parameters

Events extends Record<EventType, unknown>

Parameters

optional
all: EventHandlerMap<Events>