mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-06-28 00:11:34 +00:00
add multistream and muxer tests
This commit is contained in:
@ -20,9 +20,9 @@ b.on('error', function (err) {
|
||||
b.listen()
|
||||
|
||||
b.registerHandler('/ipfs/sparkles/1.2.3', function (stream) {
|
||||
// if (err) {
|
||||
// return console.log(err)
|
||||
// }
|
||||
// if (err) {
|
||||
// return console.log(err)
|
||||
// }
|
||||
|
||||
console.log('woop got a stream')
|
||||
})
|
||||
|
Reference in New Issue
Block a user