Hello! Could somebody help me with a problem? Right now I have to cancel one Effect here is my code:
case .goNext: return .cancel(id: WordAudioPlayerCancelId())
This event called when the module did all work and before destroying I need to cancel word audio effect.
Unfortunately, I cannot find a solution to test this code. Nothing mutates State, nothing sends new Actions.
I really don't want to left any floating and untested code in the Reducer. Especially when this code prevents me from the crash) I delete this module after goNext Action was send and I need to cancel any Events in progress.