UNPKG

node-ts-architecture-module

Version:
10 lines (9 loc) 329 B
import ICommand from './ICommand'; import ICommandHandler from './ICommandHandler'; export default class CommandBusContainer { private map; constructor(); getHandler(command: ICommand): ICommandHandler; addHandler(command: string, commandHandler: string): void; addHandlers(map: Map<string, string>): void; }