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.

8 lines (7 loc) 249 B
import { Registry } from './registry'; export declare abstract class BaseRegistry<T extends object> implements Registry<T> { private registry; register(name: string, middleware: T): void; getByName(name: string): T; getAll(): T[]; }