openwhisk-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [openwhisk-runtime-dotnet] kamyker commented on a change in pull request #25: Async task
Date Wed, 27 Nov 2019 23:23:58 GMT
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

Mime
View raw message