Is it possible to have some sort of 'callback function' or watcher to an NGRX Effect? The use case is, I'm trying to persist state across browser refresh. I'd like to call my cache service to save the app state after each effect has run. Currently, I'm doing this by adding this to every effect:
tap(() => setTimeout(() => this.cacheService.saveAppState()))
It feels like there should be a better way to accomplish this?
