code: function EventEmitter(isAsync) {
          if (isAsync === void 0) { isAsync = false; }
          var _this = _super.call(this) || this;
          _this.__isAsync = isAsync;
          return _this;
      }
docs: Creates an instance of this class that can
  deliver events synchronously or asynchronously.
  
  @param isAsync When true, deliver events asynchronously.