2014-02-20 28 views

回答

9

您可以簡單地將Task<Unit>上傳到Task,因爲您不需要訪問通用結果。

E.g.

let taskOfUnit = asyncOfUnit |> Async.StartAsTask 
taskOfUnit :> Task