UNPKG

n8n

Version:

n8n Workflow Automation Tool

10 lines (9 loc) 438 B
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; }