-
Notifications
You must be signed in to change notification settings - Fork 5
Description
In our app, we frequently use Flows to propagate reactive data from the data layer to the UI layer. Many SDKs and libraries either natively support Flows or offer (change) listeners, which can be easily wrapped into Flows. This approach enables us to build reactive UIs: we can update an SDK value and immediately observe changes via a Flow or listener, eliminating the need to manually track changes or store temporary values.
Therefore, I kindly request that you provide change listeners for attributes, such as Batch.User.addAttributeChangeListener() and Batch.User.removeAttributeChangeListener(). These listeners would be triggered whenever an attribute is added, modified, or removed, allowing us to easily wrap this functionality with Flows.
Also see my issue #24, which I somewhat related to this.