Register a listener that is called when the Interop Client has been disconnected from the Interop Broker.
Example
const listener = (event) => {
const { type, topic, brokerName} = event;
console.log(`Disconnected from Interop Broker ${brokerName} `);
}
await fin.me.interop.onDisconnection(listener);