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 edited a comment on issue #22: Add async/await support
Date Wed, 27 Nov 2019 19:56:09 GMT
kamyker edited a comment on issue #22: Add async/await support
URL: https://github.com/apache/openwhisk-runtime-dotnet/issues/22#issuecomment-559230796
 
 
   Btw if someone needs async before this feature is available (for ex. in IBM) it's possible
to instead:
   `var result = await SomeAsyncFunc();`
   do:
   `var result = SomeAsyncFunc().GetAwaiter().GetResult();`
   Not very efficient as it will use new thread and can prob deadlock in very high usage scenarios
but I fine in my use case.

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