constructor(callback) {
    super(callback);
    this.requestService = new BatchRequestService();
    /** @type {function(!Object):boolean|undefined} */
    this.detectPartialError = undefined;
  }
Prepares a batch handler which will call the given callback when send()
completes.