I know that if a function is async then it would return a promise. However if that's the case what would happen if all the functions used inside an application is prefixed with an async, even when it is not actually asynchronous?
Which means there could be 3 cases that the main function calling it would contain:
- at least one actual asynchronous function.
- all the functions that it is calling us actually asynchronous.
- none of the functions that it is calling is actually asynchronous
but yet in all the above conditions the functions that are being called are all prefixed async.
In such scenarios what would happen?