Fable.Remoting icon indicating copy to clipboard operation
Fable.Remoting copied to clipboard

Tasks

Open kerams opened this issue 3 years ago • 0 comments

Implements #134. Supersedes #293.

Bumped required FSharp.Core for the server bits to 6.0, so that the internals can be Task-based for extra performance. Just like in #293, Task endpoints are supported, but still cannot be consumed in Fable without the type spoof hack.

DotnetClient has been updated and supports Task endpoints. There are also additional methods on the Proxy type that return Task instead of Async: let! result = proxy.callTask (fun server -> server.pureAsync).

The test failure comes down to the fact that 3 UI test projects reference FSharp.Core via the Main and Client dependency groups, and because of the lowest_matching constraint both version are different. Not sure how to solve this.

kerams avatar Oct 01 '22 13:10 kerams