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.

6 lines (5 loc) 319 B
import { Type } from '@angular/core'; import { IExecution } from './i-execution'; declare type Constructor<T = any> = new (...args: any[]) => T; export declare function FExecutionRegister<TRequest, TResponse>(requestType: Type<TRequest>): (constructor: Constructor<IExecution<TRequest, TResponse>>) => void; export {};