5 ms·
This is outdated. let foo = task { let! data = getData() return data.value } In F#, you interoperate with Task<T> transparently, and t
by neonsunset 11mo ago
This is outdated.
let foo = task {
let! data = getData()
return data.value
}
In F#, you interoperate with Task<T> transparently, and there is a number of community libraries to further enhance the experience. It also supports nice combinators like and! out of box.