ClientWithSubscribeToIdentity
Represents a client that advertises client.identity as reactive.
A plugin that can mutate client.identity over time installs this sibling
function so that reactive consumers can re-read the capability without
having to know which plugin installed it.
The listener is invoked whenever the observable value of client.identity
may have changed; consumers should re-read client.identity to get the
current value.
Example
See
Properties
subscribeToIdentity
Registers a listener to be called whenever client.identity may have
changed. Returns an unsubscribe function.