microsoft / vs-servicehub

The service broker libraries used by Visual Studio to exchange intra- and inter-process services
MIT License
20 stars 8 forks source link

ServiceBrokerClient.Invalidated should be raised when existing proxies die #186

Closed AArnott closed 6 months ago

AArnott commented 6 months ago

While the consumer of a proxy can use IJsonRpcProxy themselves to get at the JsonRpc object and add an event handler to know when the connection to the service dies, the ServiceBrokerClient could do this as part of obtaining a new proxy and raise the Invalidated event whenever the proxy dies.