206
207
constructor(
209
>
private readonly _logService: ILogService,
210
>
) {
211
>
super();
212
>
this._register(toDisposable(() => { this._disposed = true; }));
213
>
}
214
215
forwardSpans(result: IDecodeResult): void {
217
return;
218
}
219
const lines = result.spans.map(s => JSON.stringify(s)).join('\n') + '\n';
220
void this._queue.queue(() => this._append(lines));
222
223
async flush(): Promise<void> {
225
>
await this._queue.queue(() => Promise.resolve());
226
>
} catch { /* never throws */ }
227
>
}
228
229
private async _append(lines: string): Promise<void> {