UNPKG

@grubou/bussy

Version:

Command & query bus implementations

9 lines (8 loc) 284 B
import { EventHandler } from './EventHandler'; import { Bus } from '../../common/Bus'; import { DomainEvent } from './DomainEvent'; export declare type EventHandlers = { [event: string]: EventHandler<DomainEvent>[]; }; export interface EventBus extends Bus<DomainEvent, void> { }