Timeline for How do I access previous promise results in a .then() chain?
Current License: CC BY-SA 4.0
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 28, 2022 at 18:57 | comment | added | cmc | Reasoning in the details rather than the rules of thumb to cme | |
| Aug 31, 2021 at 19:23 | history | edited | Jay | CC BY-SA 4.0 |
Added link to sample code on jsfiddle
|
| Jul 3, 2019 at 15:33 | history | edited | Jay | CC BY-SA 4.0 |
added 12 characters in body
|
| May 25, 2018 at 12:04 | history | edited | Jay | CC BY-SA 4.0 |
Edited the first bullet point to reflect the prior update to address the Promise constructor antipattern (now accessible within function, not promise)
|
| May 25, 2018 at 10:19 | comment | added | nilakantha singh deo | this is a good workaround to mitigate promise related error.I was using ES5 and did not want to add another library to work with promise. | |
| Mar 27, 2017 at 17:05 | history | edited | Jay | CC BY-SA 3.0 |
forgot return statement
|
| Mar 27, 2017 at 16:44 | history | edited | Jay | CC BY-SA 3.0 |
Update to remove reference to promise based on prior edit
|
| Mar 27, 2017 at 16:36 | comment | added | Jay | Thanks @Bergi, I didn't even realize that was an anti-pattern until you mentioned it! | |
| Mar 27, 2017 at 16:35 | history | edited | Jay | CC BY-SA 3.0 |
Update to remove Promise constructor antipattern
|
| Mar 25, 2017 at 15:00 | comment | added | Bergi |
At least avoid the Promise constructor antipattern!
|
|
| Mar 24, 2017 at 20:26 | review | Late answers | |||
| Mar 24, 2017 at 20:29 | |||||
| Mar 24, 2017 at 20:08 | history | answered | Jay | CC BY-SA 3.0 |