UNPKG

hex-architect

Version:

A collection of components for creating hexagonal architecture with ports and adapters which allows for clean separation of the application and domain layers from the execution environment.

5 lines (4 loc) 92 B
export interface EventBus { emit(event: Event): void; flush(): Promise<void>; }