@renderx-plugins/host-sdk
Version:
Host SDK for RenderX plugins - provides conductor, event routing, and component mapping APIs
8 lines • 330 B
TypeScript
import "./types.js";
export type TopicHandler = (payload: any) => void;
export type Unsubscribe = () => void;
export declare const EventRouter: {
subscribe(topic: string, handler: TopicHandler): Unsubscribe;
publish(topic: string, payload: any, conductor?: any): Promise<void>;
};
//# sourceMappingURL=EventRouter.d.ts.map