Closed fuchen closed 4 years ago
Two options appear to present themselves:
IObserver<'T> -> unit -> unit
into IObserver<'T> -> Disposable.Empty
If the latter works, that might be the best. You can still try to opt into the other by explicitly wrapping fun () -> ()
in Action(fun () -> ())
, but as you say, that appears to be causing problems.
Description
Expected behavior
Should print: =1 =2 =3
Actual behavior
No output
Known workarounds
Return
Disposable.Empty
rather thanfun ()-> ()
, then everything goes well.