ClientWithSubscribeToPayer
Represents a client that advertises client.payer as reactive.
A plugin that can mutate client.payer 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.payer
may have changed; consumers should re-read client.payer to get the
current value.
Example
See
Properties
subscribeToPayer
Registers a listener to be called whenever client.payer may have
changed. Returns an unsubscribe function.