@n8n-plus/n8n-plus
Version:
n8n Workflow Automation Tool (plus edition)
10 lines (9 loc) • 438 B
TypeScript
import { EventService } from '../../events/event.service';
import type { RelayEventMap } from '../../events/maps/relay.event-map';
export declare class EventRelay {
readonly eventService: EventService;
constructor(eventService: EventService);
protected setupListeners<EventNames extends keyof RelayEventMap>(map: {
[EventName in EventNames]?: (event: RelayEventMap[EventName]) => void | Promise<void>;
}): void;
}