proposal-signals icon indicating copy to clipboard operation
proposal-signals copied to clipboard

Generalise the `notifying` semantics to `freezing`

Open prophile opened this issue 1 year ago • 0 comments

There are a couple of other cases where having the signal graph be frozen avoids some hard-to-specify and hard-to-reason-about behaviours, like calling .unwatch within a watched callback. Here we generalise the notifying trap to a general "freeze the signal graph" mechanism and use it to protect unwatched and watched callbacks.

As discussed in the community call 2024-05-12.

Fixes #211 Fixes #206

Thoughts?

prophile avatar May 15 '24 13:05 prophile