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:23:58 UTC

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

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

 ##########
 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:
   no, no, Task.Run is only used in sync methods

----------------------------------------------------------------
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