Calling async function inside non-async function in React-Native - Firebase
Like this:
async functionOne() {
asyncStuffHappens
}
functionTwo() {
(async () => {
await this.functionOne();
})();
}
This is called an IIFE (Immediately-invoked function expression). It's a function executed right after it's created