Open m-onz opened 5 years ago
Seems like it's a bug in nanobus (the event library used): https://github.com/choojs/nanobus/issues/32
Looks like the fix is to disable the nanotiming API or upgrade Node. :/
Should swap out nanobus for the native EventEmitter when running in Node.
Ok Thanks for the heads up. I will investigate those options and try and put in a PR.
Also I plan to make an experiment using streams + webRTC... i think it should be straight foward to make a duplex stream for the message passing similar to https://github.com/dominictarr/scuttlebutt. I'll report back when I have some findings!
It's definitely possible to stream. The reason I didn't go with that approach is because readable-stream
is such a large dependency and it's easy enough to wrap this module with a stream.
If you're going with Node.js-only, then you wouldn't really care about dependency size.
hey,
Great library.. i was just running the tests on ubuntu 18 and I get streaming warnings until I stop the test. Do the tests work on other operating systems? I will continue to investigate