import { IClass } from "../../matching/IClass" ; import { IEvent } from "../../../events/api/IEvent" ; import { ICommandMapper } from "../../commandCenter/dsl/ICommandMapper" ; import { ICommandUnmapper } from "../../commandCenter/dsl/ICommandUnmapper" ; /**
 * The Event Command Map allows you to bind Events to Commands
 */ export let IEventCommandMap = Symbol ( "IEventCommandMap" ) ; export interface IEventCommandMap { param type param eventClass return map ( type , eventClass ? ) : ICommandMapper ; param type param eventClass return unmap ( type , eventClass ? ) : ICommandUnmapper ; param handler return addMappingProcessor ( handler ) : IEventCommandMap ; }