We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
end
1 parent 2f6e4ee commit 52f1606Copy full SHA for 52f1606
readme.md
@@ -52,9 +52,6 @@ client.on('error', (err) => {
52
client.pipe(commonXXXChannel).pipe(client);
53
54
var stream1 = client.open();
55
-stream1.on('end', () => {
56
- console.log('client disconnected');
57
-});
58
stream1.on('data', (data) => {
59
console.log('recv:', data.toString());
60
});
@@ -73,9 +70,6 @@ var stream2 = client.open();
73
70
var {Server} = require('yamux-js');
74
71
75
72
var server = new Server((stream) => {
76
- stream.on('end', () => {
77
78
- });
79
stream.on('data', (data) => {
80
81
stream.write('Sending back data');
0 commit comments