Skip to content

Soft-deprecate EffectPublisher #1791

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

Merged
merged 2 commits into from
Jan 4, 2023
Merged

Conversation

mbrandonw
Copy link
Member

Another step towards getting to Effect<Action> for reducers is to eventually remove the publisher interface to Effect. For now we are going to soft-deprecate EffectPublisher and eventually hard deprecate it and then remove it in 1.0.

Most likely no one is even using this type. The most likely place to use it would be in the return type of dependencies, and now people should migrate towards using Swift's concurrency tools for that.

@mbrandonw mbrandonw requested a review from stephencelis January 4, 2023 21:59
@mbrandonw mbrandonw merged commit 4266744 into main Jan 4, 2023
@mbrandonw mbrandonw deleted the soft-deprecate-effect-publisher branch January 4, 2023 23:54
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