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
Original title/topic: Generalize script session "deltas", probably by letting the script session entirely control snapshots internally, rather than expose this directly, such as by returning changes when running script code. This will also deal with some potential races, making it the script session implementation's responsibility to not lose track of changes.
This was found to be broken, where assigning/nulling a binding rapidly can break the application service's internal state, by missing changes and emitting inconsistent updates:
niloc132
changed the title
Generalize script session "deltas", probably by letting the script session entirely control snapshots internally, rather than expose this directly, such as by returning changes when running script code. This will also deal with some potential races, making it the script session implementation's responsibility to not lose track of changes.
ScriptSession API to ensure snapshots/diffs of bindings are always consistent.
Jul 7, 2023
Original title/topic: Generalize script session "deltas", probably by letting the script session entirely control snapshots internally, rather than expose this directly, such as by returning changes when running script code. This will also deal with some potential races, making it the script session implementation's responsibility to not lose track of changes.
Split off from #2453 to be its own issue.
This was found to be broken, where assigning/nulling a binding rapidly can break the application service's internal state, by missing changes and emitting inconsistent updates:
Usually takes 10s-1minute to fail.
The text was updated successfully, but these errors were encountered: