question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

yield([take([t1, t2]), take(t3, t4)]) is not being resolved?

See original GitHub issue

i’m using redux-promise-middleware

what i want to do:

in one saga:

yield [put(action1()), put(action2())]
const actionResults = yield [
   take(['action1_SUCCESS', action1_ERROR]),
   take(['action2_SUCCESS', 'action2_ERROR'])
]
// this place here is never reached
...next actions
...actionResults[1]

if i leave only one take, ...next actions is reached as expected. can I not use yield [take, take, take] ?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
yelouaficommented, Apr 24, 2016

It took more time but the last v0.10.0 handles parallel takes

1reaction
yelouaficommented, Mar 31, 2016

FYI the actual code on the master branch can handle parallel takes. Probably to be released this week-end

Read more comments on GitHub >

github_iconTop Results From Across the Web

Thyroid Function Tests - Clinical Methods - NCBI Bookshelf
A low T3 is frequently found in patients with cirrhosis. The T4 and free T4 may be low, while in some patients the...
Read more >
Pure T3 Thyroid and Stories of Recovery from Chronic Fatigue ...
Paul Robinson describes his recovery from CFS symptoms with pure T3 after being sick for 15 years in his book Recovering with T3:...
Read more >
6 Thyroid Medication Mistakes You Don't Want to Make
Taking a combination of T3 plus T4 can raise T3 levels… but that doesn't always relieve lingering hypothyroidism symptoms, according to a recent...
Read more >
Thyroid Hormone Levels: T4, T3, T2, and T1
TSH, also known as thyrotropin, is actually not a thyroid hormone; rather, it's a pituitary hormone that stimulates the production of thyroid ...
Read more >
Lecture 09: RISC-V Pipeline Implementa8on
The scheduling of an object entering the pipeline is not ... stalled stages time t0 t1 t2 t3 t4 t5 t6 t7 ....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found