title: Calling async function in main file
body: <p>I am creating App integrating two systems. Therefore, I am using some requests and async functions. It's no problem to call async function in async function. However, I need to end somehow this chain and call async function in my main file where is App served from.
  Do you have any idea how to do it? Part of code looks like this</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>async function asyncFunctionINeedToCall() {
    await childAsyncFunction()
  }
  
  asyncFunctionINeedToCall()</code></pre>
  </div>
  </div>
  </p>