11 lines
322 B
TypeScript
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;
|
|
} |