How can I periodically execute a function with asyncio?
<p>I'm migrating from <code>tornado</code> to <code>asyncio</code>, and I can't find the <code>asyncio</code> equivalent of <code>tornado</code>'s <code>PeriodicCallback</code>. (A <code>PeriodicCallback</code> takes two arguments: the function to run and the number of milliseconds between calls.)</p>

<ul>
<li>Is there such an equivalent in <code>asyncio</code>?</li>
<li>If not, what would be the cleanest way to implement this without running the risk of getting a <code>RecursionError</code> after a while?</li>
</ul>