I just removed the call to |> Async.Start which works if the caller takes care of the Async<unit>.
Though as far as I understand, and I'm kind of new to this, that will be a change in behavior since Async<'a> in F# doesn't start until you explicitly run them, right? Would something like this be more correct?
|> Async.StartChild
or
|> Async.StartAsTask
|> Async.AwaitTask
I'm not too sure how someone would've used Download(path) predictably.
Fixes #58
I just removed the call to
|> Async.Start
which works if the caller takes care of theAsync<unit>
.Though as far as I understand, and I'm kind of new to this, that will be a change in behavior since
Async<'a>
in F# doesn't start until you explicitly run them, right? Would something like this be more correct?or
I'm not too sure how someone would've used
Download(path)
predictably.