Release 3.3.0
- deprecate the usage of
unsubscribe*
methods eeed31b
const handler = (event) => {
console.log('This device changed: ', event);
};
-subscribeOnThisDeviceChanged(handler);
-unsubscribeOnThisDeviceChanged(handler);
+const subscription = subscribeOnThisDeviceChanged(handler);
+subscription.remove();