Return just takes a ground value and lifts it to be a computation that produces that value.

I think what you are thinking of is "yield". However Yield() is not implemented for async workflows.

By on 11/14/2008 3:34 PM ()

I thought that since Async workflows must end with return x when a value is returned, the return keyword may be used to terminate computations "in the middle"

The case was more something like :

if someCondition then
debug "no error, but no need to process further"
return ()
...

Thanks for your answer

By on 11/14/2008 3:45 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper