You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update the code to take transactions into account. This is more difficult than it seems! E.g., when b is bound to a, a beginTransaction update from a should immediately trigger the same from b. However, b's resulting beginTransaction message must not loop back to a, even though there is a two-way binding between them!
The text was updated successfully, but these errors were encountered:
This is now mostly fixed. However, trying to create a two-way binding (or trying to close one down) during an active transaction isn't supported—that would require a nontrivial change to our transaction model.
As noted in issue #5, two-way bindings have not yet been updated to support transactional updates.
https://github.com/lorentey/GlueKit/blob/a0ed7f17fe0c05380270554c4ef79151f4cb473e/Sources/UpdatableValue.swift#L151-L171
Update the code to take transactions into account. This is more difficult than it seems! E.g., when
b
is bound toa
, a beginTransaction update froma
should immediately trigger the same fromb
. However,b
's resulting beginTransaction message must not loop back toa
, even though there is a two-way binding between them!The text was updated successfully, but these errors were encountered: