title: Django — async_to_sync vs asyncio.run
body: <p>We can use both functions to run any async function synchronously:</p>
  
  <pre><code>import asyncio
  from asgiref.sync import async_to_sync
  
  asyncio.run(asyncio.sleep(1))
  async_to_sync(asyncio.sleep)(1)
  </code></pre>
  
  <p>What is the difference? Can we <em>always</em> use <code>asyncio.run</code> instead of <code>async_to_sync</code>? </p>