Feature suggestion: Convert method to Async
i just stumbled over a Visual Studio AddIn which helps to convert method signatures to Async:
http://visualstudiogallery.msdn.microsoft.com/752a7f87-7f2c-49d0-b6b5-405232cd4379
It would be fine, if such a feature will be introduced in the next R# release.
Regards
Klaus
Please sign in to leave a comment.
Nice idea, but unless R# can generate a better async implementation, the method body should either remain unchanged or be left blank.
Creating an async method which just calls Task.Run to call the sync method on a background thread is not a good idea:
http://blogs.msdn.com/b/pfxteam/archive/2012/03/24/10287244.aspx
Hello Klaus,
There is a similar request in YouTrack http://youtrack.jetbrains.com/issue/RSRP-337124. You are welcome to vote for it.
Thanks!
done :)