Can someone tell me why using this setInterval takes 15 seconds to start running and how to make it run without delay? It works well in repeating every 15 seconds like it should but I want to remove the start
function pollServer() {
intervalId = window.setInterval(function () {
callE();
callA();
callC();
callB();
callD();
}, 15000);
}
pollServer();
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…