export default class EventRoute {
  public name: string;
  public callback: (api:any, data:any) => void;

  constructor(name: string, callback: (api:any, data:any) => void) {
    this.name = name;
    this.callback = callback;
  }
}