Module

x/aleph/server/deps.ts

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

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

Type Parameters

Events extends Record<EventType, unknown>

Parameters

optional
all: EventHandlerMap<Events>