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: clear timers #41

Merged
merged 3 commits into from
Feb 23, 2024
Merged

feat: clear timers #41

merged 3 commits into from
Feb 23, 2024

Conversation

neurosnap
Copy link
Owner

@neurosnap neurosnap commented Feb 23, 2024

const thnk = thunks.create("my-thunk", { supervisor: timer() });
const action = thnk();
store.dispatch(action);
store.dispatch(action);
store.dispatch(clearTimers([action.payload.key]));

BREAKING CHANGE: use `race` from `effection`
BREAKING CHANGE: replace `race` with `raceMap`
@neurosnap neurosnap merged commit d0a0d68 into main Feb 23, 2024
4 checks passed
@neurosnap neurosnap deleted the clear-timers branch February 23, 2024 20:28
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.

1 participant