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

feat!: does not run queued listeners after they are unsubscribed #280

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

gismya
Copy link
Contributor

@gismya gismya commented Mar 6, 2024

Changes the behaviour of unsubscribe to also remove listeners that have already been queued.

It's a breaking change.

I remade the tests "does not mutate listeners while change event". Can't really work out what it was testing, and if/how I should replace it with something else.

@gismya gismya force-pushed the remove-listener-from-queue branch from 59ff8f4 to 0377ef5 Compare March 6, 2024 09:03
@ai ai merged commit dda5243 into nanostores:next Mar 6, 2024
4 checks passed
@ai
Copy link
Member

ai commented Mar 6, 2024

Thanks

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.

None yet

2 participants