Let's say I have two async functions.
const functionTwo = async () => {
//do something
}
const functionOne = async () => {
try {
//do something
functionTwo();
//do something else
} catch (e) {
handleError(e)
}
}
I dont want functionOne() to wait for functionTwo() to finish its execution so I didn't put await infront of functionTwo().
I'm using WebStorm IDE and its showing a warning that I should either put await or add .then() to functionTwo() call. Is it the right thing to do to put .then(), even when i don't need to do anything in it?