3 ms·
At least with "await person.getFullName()", it's more obvious that a network call is being made.
by olalonde 4y ago
At least with "await person.getFullName()", it's more obvious that a network call is being made.
- P5fRxh5kUvp2th 4y agothat's an abuse and an excuse. 1. It's an abuse of what async/await is. async/await is about concurrency and says NOTHING about the cause of that concurrency. 2. It's an excuse to rationalize what is clearly a bad idea. RPC should obviously be RPC. What seems obvious to you in that function call isn't going to be obvious in 5-10 years once your sensibilities are gone and it's someone else dealing with the crap you wrote.