Is this a good use of Async in F#? I've hacked together some code to read the content from a sequence of files:

let fileContents = 
    [ "filename1"; "filename2"; "etc" ]
    |&gt; Seq.map(fun file -&gt; async {
        use fs = new FileStream(file, FileMode.Open, FileAccess.Read, FileShare.Read)
        let data = Array.create(int fs.Length) 0uy
        let! _ = fs.AsyncRead(data, 0, data.Length)
        return data         
    })
    |&gt; Async.Parallel 
    |&gt; Async.RunSynchronously
    |&gt; Seq.map System.Text.Encoding.ASCII.GetString


It works, but I'm not really sure about it. For one thing, is async actually giving me any benefit here? Also inside the async function I need to wait for AsyncRead to finish, but I don't need the returned value from it. Is there a better way of doing this than let! _ = ...?
You can take advantage of async to do parallel IO which Async.Parallel makes very easy. Also, when you don't need the return value of an async call you can use Async.ignore in combination with do!: do! fs.AsyncRead(data, 0, data.Length) |&gt; Async.ignore

However this specific snipper can be made much simpler since there is no reason to await the result of the computations when using Async.Parallel:

open System.IO

let fileContents = 
    [ "filename1"; "filename2"; "etc" ]
    |&gt; List.map(fun file -&gt; async { use fs = File.OpenRead(file) in return! fs.AsyncRead(fs.Length |&gt; int)})
    |&gt; Async.Parallel 
    |&gt; Async.RunSynchronously
    |&gt; Seq.map System.Text.Encoding.ASCII.GetString


One caveat - if the size of your file is more than 2GB it won't work due to long->int conversion - but that would be a crazy big file to just read the content of like that :-D