UNPKG

hypershield

Version:

Middleware suite for high-performance and resilient APIs

8 lines 250 B
type EventHandler = (data: any) => void; export declare class EventBus { private handlers; subscribe(event: string, handler: EventHandler): void; publish(event: string, data: any): void; } export {}; //# sourceMappingURL=eventBus.d.ts.map