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
async function asyncFunctionINeedToCall() {
await childAsyncFunction()
}
asyncFunctionINeedToCall()