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