streamr-dev/cli-tools

Disconnect StreamrClient when upstream pipe closes

Closed this issue · 1 comments

harbu commented

E.g.,

writable.once('finish', () => {
  client.disconnect() // or .ensureDisconnected() once streamr-client 2.x is published
})

Thanks again @timoxley for idea.

harbu commented

Done in #3