Can Reactive Extensions (Rx) be used across process or machine boundaries?

后端 未结 7 1468
名媛妹妹
名媛妹妹 2021-02-08 03:48

Vaguely remember seeing some discussions on this quite a while back but haven\'t heard anything since. So basically are you able to subscribe to an IObservable on a remote machi

7条回答
  •  我在风中等你
    2021-02-08 04:12

    Are you specifically bound to using Rx as the solution to your problem? WCF provides duplex services, which have the ability for clients to register callback endpoints to a service. The service may then initiate calls back to its clients as necessary. It is effectively a remoted observer pattern. If RX is a must, then it should be fairly strait forward to wrap WCF duplex services with an RX support framework, allowing your clients to "transparently" observe service behavior with IObservable.

提交回复
热议问题