We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aece063 commit c43e82dCopy full SHA for c43e82d
packages/brownie/android/src/main/java/com/callstack/brownie/Store.kt
@@ -45,7 +45,10 @@ class Store<State>(
45
}
46
47
/**
48
- * Updates state with [updater], pushes it to C++, then notifies local subscribers.
+ * Updates state with [updater] and pushes it to C++.
49
+ *
50
+ * Listener notification is triggered via the native storeDidChange callback and [rebuildState]
51
+ * to keep Kotlin updates consistent with cross-runtime updates.
52
*/
53
fun set(updater: (State) -> State) {
54
val newState =
@@ -55,7 +58,6 @@ class Store<State>(
55
58
56
59
57
60
pushStateToCxx(newState)
- notifyListeners(newState)
61
62
63
0 commit comments