SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function* qrCodesWorker({ payload: bookIds }) {
  2.   try {
  3.     const result = yield all(bookIds.map(id => call(getQrCode, id)));
  4.     yield put(qrCodesRequestSuccess(result));
  5.   } catch (error) {
  6.     yield put(qrCodesRequestError(error));
  7.   }
  8. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top