事件:'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().

AltStyle によって変換されたページ (->オリジナル) /