(timeout?: number)
| 90 | /** @inheritDoc */ |
| 91 | // @ts-expect-error - PromiseLike is a subset of Promise |
| 92 | public async flush(timeout?: number): PromiseLike<boolean> { |
| 93 | await this.traceProvider?.forceFlush(); |
| 94 | |
| 95 | if (this.getOptions().sendClientReports) { |
| 96 | this._flushOutcomes(); |
| 97 | } |
| 98 | |
| 99 | return super.flush(timeout); |
| 100 | } |
| 101 | |
| 102 | /** @inheritDoc */ |
| 103 | // @ts-expect-error - PromiseLike is a subset of Promise |
no test coverage detected