UNPKG

isy-nodejs

Version:

Node.js wrapper for ISY interface including websockets for change notifications. Fork of isy-js by Rod Toll. Designed to be used in a node.js application.

10 lines (9 loc) 252 B
import { EventType } from './EventType.js'; export class ISYEvent<TAction, TEventType extends EventType> { action: TAction; eventInfo: any; constructor(eventData: any) { this.action = eventData.action; this.eventInfo = eventData.eventInfo; } }