UNPKG

@foblex/mediator

Version:

An Angular library that implements the mediator pattern, providing a centralized way to handle requests with optional validation and execution pipelines.

4 lines (3 loc) 122 B
export interface IHandler<TRequest = void, TResponse = void> { handle(request?: TRequest, ...args: any): TResponse; }