I’m looking for a way to append epics to the epic middleware.
I’ve experimented with replaceEpic but this effectively restarts all of your epics, so any epics in an “ongoing” state are just abandoned and any actions they emit are lost. Similarly, if I have an epic that utilises periodic or or event listeners, I am forced to kick start them again following a replaceEpic call.
Is there some way to persist your currently-running epics whilst adding new ones?
I’m looking for a way to append epics to the epic middleware.
I’ve experimented with replaceEpic but this effectively restarts all of your epics, so any epics in an “ongoing” state are just abandoned and any actions they emit are lost. Similarly, if I have an epic that utilises periodic or or event listeners, I am forced to kick start them again following a replaceEpic call.
Is there some way to persist your currently-running epics whilst adding new ones?