Sync functions perform better than async functions, and they give more guarantees to the caller. They're strictly better, when you can use them.
If you find yourself making everything async, your design is bad and you should refactoring your code.
Sync functions perform better than async functions, and they give more guarantees to the caller. They're strictly better, when you can use them.
If you find yourself making everything async, your design is bad and you should refactoring your code.