dotnet / corefx-tools

Place to include various misc tools for .NET and .NET Core.
MIT License
58 stars 41 forks source link

Default behavior of async APIs shall be awaitable #108

Closed am-mehmood closed 3 years ago

am-mehmood commented 3 years ago

Async APIs are usually used with mix of await keyword, so that should be default behavior without await keyword and if someone has to consume async API without wait, a new keyword like "nowait" shall serve the purpose. This will help people write async APIs like simple synchronous APIs yet they will be doing non-blocking calls.

am-mehmood commented 3 years ago

Posted to wrong repo