3 ms·
no crash with: setInterval(() => { websocket.send(JSON.stringify({ action: 'plus' })); }, 0)
by bandamo 5y ago
no crash with:
setInterval(() => { websocket.send(JSON.stringify({ action: 'plus' })); }, 0)
- heleninboodler 5y agosetInterval( () => { if(state.textContent == 'on') { websocket.send(JSON.stringify({ action: 'plus' })); } }, 50)
- deleted 5y ago[deleted]