Open raphael10-collab opened 2 years ago
I consistently get the same error when sending one particular large file.
I haven't tried it, but you might be able to do something like:
process.once('SIGINT', () => {
beam.destroy()
process.exit(0)
})
Hi @mafintosh ! In order to understand how to use Hyperbeam for programmatically exchanging messages, I played with a simple Duplex stream as follows:
On the other side I have the simple "plain" code:
Executing the code I get:
And on the
reader
side I get this:If I close the
writer stream
withCTRL+C
, I get on thereader
side:How to solve the problem?