News for hackers. Stuff that matters.
Re:Flutter: Futures, Isolates, Event Loop by ridiculous_fish on Wednesday January 23, 2019 @05:36AM (#18977160)
async is part of the method signature, the public facing part of the method. But it controls an implementation detail, namely whether the function body may use await (as you say asynchronous functions are not required to use await).

I found a link [1] that described async as a compatibility affordance in C# 5: legacy code may use await as a variable name, so async opts into the contextual await keyword. But Dart doesn't have such legacy, so the keyword doesn't seem as well motivated.

https://blogs.msdn.microsoft.com/ericlippert/2010/11/11/asyn...

There are no comments on this comment yet.