Default behavior of async APIs shall be awaitable
am-mehmood opened this issue · comments
am-mehmood commented
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
Posted to wrong repo