Let's say I have a function in one file that returns a promise:
public async a():Promise<string>{
return 'hi'
}
In another file, I use this function like so:
await service.a.then( hi =>console.log(hi)).catch(err=>{throw err});
await service.a.then( hi =>console.log(hi)).catch(err=>{throw err});
Will these functions run sequentially without any interference issues? Thank you.