import { Subject } from "rxjs";
import { AsyncObject } from "../models/AsyncObject";

export class ExportAsync extends AsyncObject<any> {
  /**
   * @hideconstructor
   */
  constructor() {
    super();
    if (!(this instanceof ExportAsync)) {
      return new ExportAsync();
    }
  }

  param: Object;

  static exportSubject$ = new Subject();

  static setSubject(sub: any) {
    this.exportSubject$ = sub;
  }
}