TechnicalCommunityContent | includes technical content about Cloud | Collaboration library
kandi X-RAY | TechnicalCommunityContent Summary
kandi X-RAY | TechnicalCommunityContent Summary
includes technical content about Cloud and other technologies, optimized for use within Technical Community Events
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of TechnicalCommunityContent
TechnicalCommunityContent Key Features
TechnicalCommunityContent Examples and Code Snippets
Community Discussions
Trending Discussions on TechnicalCommunityContent
QUESTION
I am rewriting some of the C# in this lab to F#: https://github.com/Microsoft/TechnicalCommunityContent/tree/master/IoT/Azure%20Stream%20Analytics/Session%202%20-%20Hands%20On
I am on Exercise 6, #17 - creating the SimpleEventProcessor
type.
I want to implement the CloseAsync
method
C#
...ANSWER
Answered 2017-May-25 at 12:40If the value has type
Async<'T>
, you can just return it without any keyword. If it has typeTask
orTask<'T>
, you can do|> Async.AwaitTask
.You can return
async { return () }
.
So you get this:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install TechnicalCommunityContent
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page