Because \"yield\"-statement isn\'t allowed within a callback, how can i use the \"put\" feature of redux-saga within a callback?
I\'d like to have the following call
Beside using channel as @Alex suggest, one might also consider using call from 'redux-saga/effects'. The call effect take a function or Promise.
channel
call
'redux-saga/effects'
Promise
import { call } from 'redux-saga/effects'; // ... yield call(download.promise);