UNPKG

@nestjstools/messaging

Version:

Simplifies asynchronous and synchronous message handling with support for buses, handlers, channels, and consumers. Build scalable, decoupled applications with ease and reliability.

6 lines (5 loc) 129 B
export interface Registry<T> { register(name: string, element: T): any; getByName(name: string): T; getAll(): T[]; }