@returns Queue statistics and profiling state for monitoring
()
| 301 | |
| 302 | /** @returns Queue statistics and profiling state for monitoring */ |
| 303 | get stats() { |
| 304 | return { |
| 305 | ...this.#performanceObserverSink.getStats(), |
| 306 | debug: this.#debug, |
| 307 | state: this.#state, |
| 308 | walOpen: !this.#sink.isClosed(), |
| 309 | }; |
| 310 | } |
| 311 | |
| 312 | /** Flushes buffered performance data to sink. */ |
| 313 | flush(): void { |