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 2020/12/24 17:45:16 UTC

[GitHub] [openwhisk-runtime-dotnet] rabbah opened a new issue #46: support asynchronous returns

rabbah opened a new issue #46:
URL: https://github.com/apache/openwhisk-runtime-dotnet/issues/46


   Currently I don't think there is a way to return a Future from the .NET action, making it less convenient to write asynchronous functions.


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



[GitHub] [openwhisk-runtime-dotnet] rabbah edited a comment on issue #46: Add example using asynchronous returns

Posted by GitBox <gi...@apache.org>.
rabbah edited a comment on issue #46:
URL: https://github.com/apache/openwhisk-runtime-dotnet/issues/46#issuecomment-751175674


   Thanks! Indeed this is what I was looking for. We should add this to the docs. The particular use case I ran into was related to making an http request. Retitling. 


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



[GitHub] [openwhisk-runtime-dotnet] shawnallen85 edited a comment on issue #46: support asynchronous returns

Posted by GitBox <gi...@apache.org>.
shawnallen85 edited a comment on issue #46:
URL: https://github.com/apache/openwhisk-runtime-dotnet/issues/46#issuecomment-750973261


   We support async/await methods in the .NET runtime.
   
   https://docs.microsoft.com/en-us/dotnet/csharp/async
   
   The [testEchoNoWrite](https://github.com/apache/openwhisk-runtime-dotnet/blob/66449cb972a547825b8ca40c4159bf933097edd6/tests/src/test/scala/actionContainers/DotNet3_1ActionContainerTests_2_2.scala#L54) test (in all runtimes) should be calling this [method](https://github.com/apache/openwhisk-runtime-dotnet/blob/66449cb972a547825b8ca40c4159bf933097edd6/tests/dotnetshared/Echo.cs#L31), which is asynchronous.


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



[GitHub] [openwhisk-runtime-dotnet] rabbah edited a comment on issue #46: support asynchronous returns

Posted by GitBox <gi...@apache.org>.
rabbah edited a comment on issue #46:
URL: https://github.com/apache/openwhisk-runtime-dotnet/issues/46#issuecomment-751175674


   Thanks! Indeed this is what I was looking for. We should add this to the docs. The particular use case I ran into was related to making an http request. 


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



[GitHub] [openwhisk-runtime-dotnet] rabbah commented on issue #46: support asynchronous returns

Posted by GitBox <gi...@apache.org>.
rabbah commented on issue #46:
URL: https://github.com/apache/openwhisk-runtime-dotnet/issues/46#issuecomment-751175674


   Thanks! Indeed this is what I was looking for. We should add this to the docs. 


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



[GitHub] [openwhisk-runtime-dotnet] shawnallen85 closed issue #46: Add example using asynchronous returns

Posted by GitBox <gi...@apache.org>.
shawnallen85 closed issue #46:
URL: https://github.com/apache/openwhisk-runtime-dotnet/issues/46


   


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



[GitHub] [openwhisk-runtime-dotnet] shawnallen85 commented on issue #46: Add example using asynchronous returns

Posted by GitBox <gi...@apache.org>.
shawnallen85 commented on issue #46:
URL: https://github.com/apache/openwhisk-runtime-dotnet/issues/46#issuecomment-822734022


   This'll be resolved here: https://github.com/apache/openwhisk-runtime-dotnet/pull/50


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



[GitHub] [openwhisk-runtime-dotnet] shawnallen85 commented on issue #46: support asynchronous returns

Posted by GitBox <gi...@apache.org>.
shawnallen85 commented on issue #46:
URL: https://github.com/apache/openwhisk-runtime-dotnet/issues/46#issuecomment-750973261


   We support async/await methods in the .NET runtime.
   
   https://docs.microsoft.com/en-us/dotnet/csharp/async
   
   The `[testEchoNoWrite](https://github.com/apache/openwhisk-runtime-dotnet/blob/66449cb972a547825b8ca40c4159bf933097edd6/tests/src/test/scala/actionContainers/DotNet3_1ActionContainerTests_2_2.scala#L54)` test (in all runtimes) should be calling this [method](https://github.com/apache/openwhisk-runtime-dotnet/blob/66449cb972a547825b8ca40c4159bf933097edd6/tests/dotnetshared/Echo.cs#L31), which is asynchronous.


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