title: How to make python await for "nothing", running the event loop first
body: <p>I run a python program which is run by network events and cannot go 10-15 seconds without processing heartbeats. (More specifically, I use discord.py with a pretty large volume of events)</p>
  
  <p>In one of the possible scenarios I could have a command store a large amount of data into a database, this could potentially take up more than those 10 to 15 seconds, and is blocking.</p>
  
  <p>These are thousands of small database calls where I could make the asynchronous event loop "run its course" in between those calls if needed. How can I make python "<code>await</code> for nothing" in this case?</p>
  
  <p>A similair hack would be to await for a resolved <code>Promise</code> in JavaScript, which throws the process back into the event loop, resolving more pressing events first.</p>