Hey There!
Looking to get an assessment on my Sequencing Animations!
I figured out how to trigger the “.catch(error)” function. I typed “error” in alice1.animate(aliceTumbling, aliceTiming)
. I write this in a comment in Sequencing Animation 3 below.
Sequencing Animations #1 (Callback Hell):
Sequencing Animations #2 (Promise Chain):
Sequencing Animations #3 (Async, Await):
I really like the methodology of Async/Await. Seemed logical and everything looked neat. In terms of Promise Chaining, I really like using .result(() => )
and .catch(() => {});
just because the flow of it makes sense to me.
Learning & Growing,
Vlad