0 people like it.

async

1: 
2: 
3: 
4: 
let whatever = async {
   let! data = download_file
   printfn "%s" data
}
val whatever : Async<unit>

Full name: Script.whatever
val async : AsyncBuilder

Full name: Microsoft.FSharp.Core.ExtraTopLevelOperators.async
val data : string
val printfn : format:Printf.TextWriterFormat<'T> -> 'T

Full name: Microsoft.FSharp.Core.ExtraTopLevelOperators.printfn
Raw view Test code New version

More information

Link:http://fssnip.net/56
Posted:15 years ago
Author:
Tags: