(timeout?: number)
| 467 | */ |
| 468 | // @ts-expect-error - PromiseLike is a subset of Promise |
| 469 | public async close(timeout?: number): PromiseLike<boolean> { |
| 470 | _INTERNAL_flushLogsBuffer(this); |
| 471 | const result = await this.flush(timeout); |
| 472 | this.getOptions().enabled = false; |
| 473 | this.emit('close'); |
| 474 | return result; |
| 475 | } |
| 476 | |
| 477 | /** |
| 478 | * Get all installed event processors. |
nothing calls this directly
no test coverage detected