0

I have not found a single tutorial which explains detailed about epics.

   onst pingEpic = action$ =>
  action$.filter(action => action.type === 'PING')
    .delay(1000) // Asynchronously wait 1000ms then continue
    .mapTo({ type: 'PONG' });

// later...
dispatch({ type: 'PING' });
S2K
  • 1,185
  • 3
  • 27
  • 55
  • Do you use a framework? For angular-redux, you can find an example here: https://github.com/angular-redux/store/blob/master/articles/epics.md and for ngrx (effects) here: https://github.com/ngrx/platform/blob/master/docs/effects/README.md – Kim Kern Aug 27 '17 at 17:56

1 Answers1

1

Our documentation contains [what we hope is] good documentation, assuming you already have a solid understanding of RxJS. Have you taken a look?

I noticed you also tagged Angular. You don't have to use angular-redux to use redux and redux-observable, but if you do they also have some short docs about using it with redux-observable.

If you have specific questions not answered in the redux-observable docs, feel free to ask them as Stack Overflow questions! :)

jayphelps
  • 15,276
  • 3
  • 41
  • 54