I think you just need to change

1
(fun (cont,econt) ->

to

1
(fun (cont,econt,ccont) ->

That is, the method takes a success continuation, an exception continuation, and a cancellation continuation (the latter two just being ignored in this particular example).

(FYI, 'Async.Primitive' will probably be renamed 'Async.FromContinuations' in the next release.)

By on 8/6/2009 9:59 AM ()
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