¥Event: 'drain'
'drain'
当写缓冲区变空时触发。可用于限制上传。
¥Emitted when the write buffer becomes empty. Can be used to throttle uploads.
也可以看看:socket.write() 的返回值。
socket.write()
¥See also: the return values of socket.write().