Closed olivercoad closed 2 years ago
Trying to use a IReplyChannel<bool> on the DotnetClient, but when using Bridge.AskServer it has a compilation error:
IReplyChannel<bool>
Bridge.AskServer
The type 'bool' is not compatible with the type 'exn'
module TestReplyChannels = type Msg = | Foo of string * IReplyChannel<bool> let _ = Bridge.AskServer (fun rc -> Foo("bar", rc))
Does AskServer somehow have an implicit requirement that 'T inherits Exception?
'T
Trying to use a
IReplyChannel<bool>
on the DotnetClient, but when usingBridge.AskServer
it has a compilation error:Does AskServer somehow have an implicit requirement that
'T
inherits Exception?