(effect, { put }, model, key)
| 432 | }, |
| 433 | }, |
| 434 | onEffect(effect, { put }, model, key) { |
| 435 | expectedKey = key; |
| 436 | modelNamespace = model.namespace; |
| 437 | return function*(...args) { |
| 438 | count *= 2; |
| 439 | yield put({ type: SHOW }); |
| 440 | yield effect(...args); |
| 441 | yield put({ type: HIDE }); |
| 442 | }; |
| 443 | }, |
| 444 | }); |
| 445 | |
| 446 | app.use({ |