    this.flush();
    return this.$bridge.call(id, method, parameters);
  }

  flush(): void {
    tabris.trigger('layout');
    const operations = this.$operations;
    this.$operations = [];
    this.$currentOperation = {id: undefined};
    const length = operations.length;
    if (!length) {
      return;
    }