haf / expecto

A smooth testing lib for F#. APIs made for humans! Strong testing methodologies for everyone!
Apache License 2.0
668 stars 96 forks source link

testTask doesn't surface (non-generic) `Task` as valid `do!` target #293

Closed et1975 closed 5 years ago

et1975 commented 5 years ago

AFAIK This is a valid scenario in TaskBuilder.fs

AnthonyLloyd commented 5 years ago

Thanks, will investigate.

haf commented 5 years ago

I did unit -> Task so that the syntax would be do! fun () -> mytask; that way it encapsulates Async/Job being lazy but Task being eager/hot.