Also note that async is not a reserved keyword. You can redefine it if you wish. It is an instance of AsyncBuilderImpl.

By on 12/22/2011 1:27 PM ()

In F#, 'async' is one of the better-known applications of what's known as a workflow; these workflows are used to build computation expressions. The 'seq { }' syntax is also implemented as a workflow.

You can define a custom "Builder" type -- which is just a normal type with some specially-named methods to define your own workflows.

If you want to read more about defining your own workflows, you can find some background information on MSDN:
Computation Expressions (F#)
Asynchronous Workflows (F#)

By on 12/18/2011 11:51 AM ()

Thanks Jack.

By on 12/18/2011 1:10 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