We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f326bc7 commit 8486e1bCopy full SHA for 8486e1b
src/FSharp.Control.TaskSeq/Utils.fs
@@ -46,7 +46,11 @@ module Task =
46
}
47
48
/// Bind a Task<'T>
49
- let inline bind binder (task: Task<'T>) : Task<'U> = TaskBuilder.task { return! binder task }
+ let inline bind binder (task: Task<'T>) : Task<'U> =
50
+ TaskBuilder.task {
51
+ let! t = task
52
+ return! binder t
53
+ }
54
55
/// Create a task from a value
56
let inline fromResult (value: 'U) : Task<'U> = TaskBuilder.task { return value }
0 commit comments