實作 let!在 非同步計算。
命名空間/模組路徑: Microsoft.FSharp.Control
組件:FSharp.Core (在 FSharp.Core.dll 中)
// Signature:
member this.Bind : Async<'T> * ('T -> Async<'U>) -> Async<'U>
// Usage:
asyncBuilder.Bind (computation, binder)
參數
傳回值
在 computation 結果上執行單邊繫結的非同步。
備註
建立執行 的非同步計算 computation,並計算會產生結果時,會傳遞至結果 binder所繫結的結果的計算值。
執行計算之後,便會執行取消檢查。 如果這個方法存在,則允許將 let! 用於 async { ... } 計算運算式語法。
平台
Windows 7、Windows Vista SP2、Windows XP SP3、Windows XP x64 SP2、Windows Server 2008 R2、Windows Server 2008 SP2、Windows Server 2003 SP2
版本資訊
F# 執行階段
支援版本:2.0、4.0
Silverlight
支援版本:3