| 24 | } |
| 25 | |
| 26 | export interface Info { |
| 27 | /** |
| 28 | * The number of processed bytes. |
| 29 | */ |
| 30 | readonly bytes: number; |
| 31 | /** |
| 32 | * The number of processed bytes until the last successfully parsed and emitted records. |
| 33 | */ |
| 34 | readonly bytes_records: number; |
| 35 | /** |
| 36 | * The number of lines being fully commented. |
| 37 | */ |
| 38 | readonly comment_lines: number; |
| 39 | /** |
| 40 | * The number of processed empty lines. |
| 41 | */ |
| 42 | readonly empty_lines: number; |
| 43 | /** |
| 44 | * The number of non uniform records when `relax_column_count` is true. |
| 45 | */ |
| 46 | readonly invalid_field_length: number; |
| 47 | /** |
| 48 | * The number of lines encountered in the source dataset, start at 1 for the first line. |
| 49 | */ |
| 50 | readonly lines: number; |
| 51 | /** |
| 52 | * The number of processed records. |
| 53 | */ |
| 54 | readonly records: number; |
| 55 | } |
| 56 | |
| 57 | export interface InfoCallback extends Info { |
| 58 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected