Skip to content

Commit d2b21aa

Browse files
antonbrianc
authored andcommitted
just comments
1 parent 5cb871c commit d2b21aa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/native/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,13 @@ var clientBuilder = function(config) {
194194
}
195195
});
196196
connection.on('_copyInResponse', function () {
197+
//connection is ready to accept chunks
198+
//start to send data from stream
197199
connection._activeQuery.streamData(connection);
198200
});
199201
connection.on('_copyData', function (chunk) {
202+
//recieve chunk from connection
203+
//move it to stream
200204
connection._activeQuery.handleCopyFromChunk(chunk);
201205
});
202206
return connection;

0 commit comments

Comments
 (0)