We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c3a8ab commit ec8d94bCopy full SHA for ec8d94b
5-network/11-websocket/article.md
@@ -199,7 +199,7 @@ The `socket.bufferedAmount` property stores how many bytes remain buffered at th
199
We can examine it to see whether the socket is actually available for transmission.
200
201
```js
202
-// every 100ms examine the socket and send more data
+// 100ms마다 소켓을 확인해 쌓여있는 바이트가 없는 경우에만
203
// only if all the existing data was sent out
204
setInterval(() => {
205
if (socket.bufferedAmount == 0) {
0 commit comments