const { value, done } = await this.inputReader.read(); | const { value, done } = await this.inputReader.read(); | ||||
if (done) { | if (done) { | ||||
await this.inputReader.closed; | await this.inputReader.closed; | ||||
console.log({ done }); | |||||
try { | try { | ||||
await this.disconnect(); | await this.disconnect(); | ||||
} catch (err) { | } catch (err) { |