Closed kentcb closed 4 years ago
One silly little workaround I could use (just tested and it seems to work) is to define my own Teardown
action that I dispatch (only from tests) when I want to bring things to an end. All relevant epics can listen for that action as a means of terminating their pipelines.
Spoke too soon. My workaround doesn't appear to be working for Observable.periodic
🤔
Heya @kentcb -- after a long search, the fundamental reason all of these timers are breaking has finally been tracked down and is being discussed here: https://github.com/dart-lang/sdk/issues/40131
Gonna close this out of this repo since there's really nothing I can do to fix this :/
Hi,
I might be missing something obvious here, but it seems to me that epics that include timers break tests, even if one explicitly tears down the store.
Here's the simplest possible repro:
Running this gives:
I considered doing something like this:
But it appears as though the
actions
stream never completes either (even when tearing down the store).Am I doing something wrong here?