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' });