text: export class Deferred {
      constructor() {
          this.resolve = null;
          this.reject = null;
          this.promise = new Promise((a, b) => {
              this.resolve = a;
              this.reject = b;
          });
      }
  }
  //# sourceMappingURL=deferred.js.map