3 ms·
It's just an example async call, it could be anything. It's not the important part of that code example, it's only purpose is to show that an async call is happ
by Mogzol 2y ago
It's just an example async call, it could be anything. It's not the important part of that code example, it's only purpose is to show that an async call is happening. It could be written as a try/catch, or it could be written how they wrote it. I guess they chose that way because it's short and to the point.
- nailer 2y agoGood example code is otherwise uninteresting apart from the concept that is meant to be shown.