Skip to content

Some Questions about EffectTask with lib tag 0.44.1? #1709

Answered by tgrapperon
ACFancy asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @ACFancy!
If you look at #1477, you will see that Combine APIs will be slowly phased out from TCA to the profit of Swift concurrency. As a result, you're invited to use async/await variants when possible, and Combine-flavored APIs have been "softly" deprecated. They don't produce any warnings, but they're not proposed by Xcode code completion anymore.

You're not forced to migrate Effect.merge and Effect.concatenate, as these operations are already supported by concurrent API's. The corresponding EffectTasks will be executed concurrently when merging, or sequentially when concatenating.

EffectTask has only one "free" generic: Action. The failure is "hardcoded" to always be Never. This …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ACFancy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants