You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2019/11/27 23:20:58 UTC

[GitHub] [openwhisk-runtime-dotnet] rabbah commented on a change in pull request #25: Async task

rabbah commented on a change in pull request #25: Async task
URL: https://github.com/apache/openwhisk-runtime-dotnet/pull/25#discussion_r351533784
 
 

 ##########
 File path: core/dotnet2.2/CHANGELOG.md
 ##########
 @@ -23,3 +23,15 @@
 ## 1.13
 Changes:
 - Initial release
+
+## 1.14
+Changes:
+- Support for async methods. Example:
+
+```csharp
+        public async Task<JObject> MainAsync(JObject args)
+        {
+            await Task.Delay(10); // Just do a delay to have an async/await process occur.
+            return (args);
 
 Review comment:
   shouldn't there be a Task.run somewhere for the awaitable method?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services