Skip to content

Conversation

@syntheticmagus
Copy link
Contributor

Rework of the weak_table to more robustly handle certain edge cases, particularly around "recursive" scenarios which emerge in observer patterns. This particularly impacts scenarios where a weak_table is backing a signal, and the invocation of that signal results in a change which wants to modify the weak_table before execution of the signal has concluded.

@syntheticmagus
Copy link
Contributor Author

@microsoft-github-policy-service agree company="Meta"

Copy link
Contributor

@bghgary bghgary left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Probably should add some tests to make sure the edge cases are covered.

@syntheticmagus syntheticmagus changed the title RI strategies to robustify weak table Robustify weak table's handling of indirect recursion in apply_to_all Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants