UNPKG

dino-express

Version:

DinO enabled REST framework based on express

10 lines (9 loc) 333 B
import { type ApplicationEvent } from './ApplicationEvent'; export interface EventEmitterInterface { /** * Emits the events using the medium of the concrete class implementing this interface * @param events the events to propagate * @returns void */ emit: (events: ApplicationEvent[]) => Promise<void>; }