| ▲ | shortrounddev2 7 months ago | |||||||||||||||||||||||||
It's absolutely not exactly the same; let! is only available within a computation block. If you want to return some value from the computation block and return to Functional land without having to pause the thread you need to use a continuation, which C# has built in syntactic sugar for in async/await and F# does not. | ||||||||||||||||||||||||||
| ▲ | sparkie 7 months ago | parent | next [-] | |||||||||||||||||||||||||
`await` can only be used in an `async` function. How is that so different from `let!` only being available in a computation expression? | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | xigoi 7 months ago | parent | prev [-] | |||||||||||||||||||||||||
A computation block is the equivatent of an async function; | ||||||||||||||||||||||||||