title: Call async function from sync function, while the synchronous function continues : Python
body: <p>After perusing many docs on <code>AsyncIO</code> and articles I still could not find an answer to this : <em><strong>Run a function asynchronously (without using a thread) and also ensure the function calling this async function continues its execution.</strong></em></p>
  <p><strong>Pseudo - code :</strong></p>
  <pre><code>async def functionAsync(p):
      #...
      #perform intensive calculations
      #...
      print (&quot;Async loop done&quot;)
  
  def functionNormal():
      p = &quot;&quot;
      functionAsync(p)
      return (&quot;Main loop ended&quot;)
  
   print (&quot;Start Code&quot;)
   print functionNormal()
  </code></pre>
  <p>Expected Output :</p>
  <pre><code>Start code
  Main loop ended
  Async loop done
  </code></pre>
  <p>Searched examples where <code>loop.run_until_complete</code> is used, but that will not return the print value of <code>functionNormal()</code> as it is blocking in nature.</p>