(
input: NodeJS.ReadableStream,
options: EventImportOptions = {},
)
| 146 | ) {} |
| 147 | |
| 148 | public async importFromReadable( |
| 149 | input: NodeJS.ReadableStream, |
| 150 | options: EventImportOptions = {}, |
| 151 | ): Promise<EventImportStats> { |
| 152 | return this.importFromCandidates(this.readJsonlCandidatesFromStream(input), options) |
| 153 | } |
| 154 | |
| 155 | public async importFromJsonl(filePath: string, options: EventImportOptions = {}): Promise<EventImportStats> { |
| 156 | const stream = fs.createReadStream(filePath, { |
no test coverage detected