text: import { put, takeEvery, all } from 'redux-saga/effects'
  
  const delay = (ms) => new Promise(res => setTimeout(res, ms))
  
  export function* incrementAsync() {
    yield delay(3000)
    yield put({ type: 'INCREMENT' })
  }
  
  export function* watchIncrementAsync() {
    yield takeEvery('INCREMENT_ASYNC', incrementAsync)
  }
  
  export default function* rootSaga() {
    yield all([
      watchIncrementAsync()
    ])
  }