UNPKG

event-local

Version:

Event client

13 lines (11 loc) 287 B
import { DomenEvent } from './DomenEvent'; export class EventHeandlerContext { context: DomenEvent[]; constructor(ehc: string) { let data = JSON.parse(ehc); this.context = data.context; } public serialize() { return JSON.stringify(this); } }