Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SignallingMapRef #3031

Merged
merged 6 commits into from
Nov 19, 2022
Merged

Conversation

armanbilge
Copy link
Member

Based on #3030.

A signalling extension of Cats Effect MapRef.

@armanbilge
Copy link
Member Author

I ended up not using the lens stuff from #3030, since it's wildly inefficient: an update at any key in the map would send updates for all keys.

I have replaced it with a new implementation that maintains listeners per-key.

@armanbilge armanbilge marked this pull request as ready for review October 30, 2022 02:32
@mpilquist mpilquist merged commit 47593c7 into typelevel:main Nov 19, 2022
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