UNPKG

woltage

Version:

A CQRS and Event-Sourcing Framework

11 lines (10 loc) 259 B
import type Event from './Event.ts'; export default class EventRegistry { #private; constructor(obj: any, proto?: any); get types(): string[]; get(event: Event): Promise<{ event: Event; handler: Function | undefined; }>; }