Skip to content

Missing actions after forgetting an @ObservableState #2865

Answered by mbrandonw
zgotsch asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @zgotsch, I can only guess at many of these questions without a project to look at. I know you tried to create one already, but having that would turn these guesses into more concrete answers.

1. Why were my send calls in my .run effect (when handling .refreshed) not resulting in the actions making it to my reducer? Is there a way we can detect that this is happening and send a runtime warning?

My guess is that your effect was cancelled, and therefore it is not allowed to send any more actions into the system. We could warn on this, but I think it would actually be very noisy and not what people actually care about. I think there are a lot of effects out there that don't proactively …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@zgotsch
Comment options

@mbrandonw
Comment options

Answer selected by zgotsch
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