This repository was archived by the owner on Sep 2, 2021. It is now read-only.

Description
When using a transport that support a native pub sub mechanism, the subscribe part is handled in the following way: for every event that an endpoint wants to subscribe to a method is called resulting in calling a native transport API, registering the subscription.
Consider a following case. An endpoint is shut down and the file has some of the event entries removed. When an endpoint is started again, it does not unsubscribe from the events. We could provide a self-healing mechanism, calling an unsubscribe when an event of a type that should not be handled is received.