Hacker News new | ask | show | jobs
by randyrand 1109 days ago
> You can only await for it from an async function.

get rid of this needless requirement and function coloring goes away.

If you await, you should be able to return the raw type directly, without needing an async keyword.

1 comments

async keyword in C# is due to backward compatibility reasons iirc.