logoalt Hacker News

tarentellast Tuesday at 4:37 PM1 replyview on HN

What is the problem with that though? I honestly wish they moved the async key word to the front `async func ...` but given the relative newness of all of this I've yet to see anyone get confused by this. The compiler also ensures everything is used correctly anyway.


Replies

hocuspocuslast Tuesday at 5:02 PM

The problem is that that the Swift function signature is telling you that someone else needs dealing with async suspension and exception handling, clearly not the same semantics.

show 2 replies