Files
gridpilot.gg/core/shared/application/UseCaseOutputPort.ts
2025-12-21 00:43:42 +01:00

11 lines
322 B
TypeScript

/**
* Output Port interface for use cases.
*
* Defines how the core communicates outward. A behavioral boundary that allows
* the use case to present results without knowing the presentation details.
*
* @template T - The result type to present
*/
export interface UseCaseOutputPort<T> {
present(data: T): void;
}