public async flush()

in src/shippers/elastic_v3/browser/src/browser_shipper.ts [97:106]


  public async flush() {
    if (this.flush$.isStopped) {
      // If called after shutdown, return straight away
      return;
    }

    const promise = firstValueFrom(this.queueFlushed$);
    this.flush$.next();
    await promise;
  }