title: Does setInterval wait for the action inside if it is blocking?
body: <p>Hello I have a function as below</p>
  <pre class="lang-js prettyprint-override"><code>let schedule = setInterval(() =&gt; {
      result = execSync(command).toString()
  }, 2000)
  </code></pre>
  <ol>
  <li>if execSync takes more than 2000 to resolve, would setInterval still repeat or will by being <strong>synchronous</strong>, <strong>execSync</strong> will make <strong>setInterval</strong> to wait for it to finish first</li>
  </ol>