autenticacion.js 200 Bytes
import {
  ACCESS_TOKEN_RECEIVED,
  fetchToken
} from '../actions/autenticacion'

export const renewToken = (action$) =>
  action$.ofType(ACCESS_TOKEN_RECEIVED)
    .delay(60000)
    .map(fetchToken)