>m.redraw.sync()</code></p>
<table>
<thead>
<tr>
<th>Argument</th>
<th>Type</th>
<th>Required</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>returns</strong></td>
<td></td>
<td></td>
<td>Returns nothing</td>
</tr>
</tbody>
</table>
<hr>
<h3 id="how-it-works"><a href="#how-it-works">How it works</a></h3>
<p>When callbacks outside of Mithril run, you need to notify Mithril&#39;s rendering engine that a redraw is needed. External callbacks could be <code>setTimeout</code>/<code>setInterval</