Replies: 1 comment 1 reply
-
|
To identify or dig more, I would love to know when exactly that effects is getting canceled. I think that would be very helpful. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey folks,
I was having some issues when a parent action was canceled, the long-chain effect is getting canceled as well. To explain the issue I used the TCA
VoiceMemosexample app. To reproduce the issue, here are the steps:VoiceMemosreducerinstead of
return .none4. Of course you need to include the
clockdependencyFrom this code what do we expect?
state.voiceMemosis saving the new recordingBut that doesn't happen in that case.
After digging more and more I found following code is the culprit:
Basically when recording is ending, somehow it's canceling my sleeping task but why is that? If I change that code instead of the recording then everything is just working fine and I'm getting the sleeping print nicely. Please correct me if I'm thinking something wrong here.
Beta Was this translation helpful? Give feedback.
All reactions