UNPKG

redux-saga-timer

Version:

setTimeout-support for sagas and side-effects

19 lines (14 loc) 262 B
import {ACTION_SET_TIMEOUT} from '../actions'; export default function timeoutReducer(state = { }, action) { switch(action.type) { case ACTION_SET_TIMEOUT: { return { ...state, } } default: { return state; } } }