4 ms·
> 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
by randyrand 3y 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.
- hardware2win 3y agoasync keyword in C# is due to backward compatibility reasons iirc.