{"id":18814,"date":"2019-07-12T19:06:36","date_gmt":"2019-07-13T02:06:36","guid":{"rendered":"https:\/\/www.podfeet.com\/blog\/?p=18814"},"modified":"2020-12-28T22:03:22","modified_gmt":"2020-12-29T06:03:22","slug":"ccatp-602","status":"publish","type":"post","link":"https:\/\/www.podfeet.com\/blog\/2019\/07\/ccatp-602\/","title":{"rendered":"CCATP #602 &#8211; Bart Busschots on PBS 81 of X \u2013 The JavaScript Promise Utilities"},"content":{"rendered":"<p>In this installment of Programming By Stealth, Bart teaches us how to use Promises, with a capital P to get promises when we already know the value we want to supply. That sounds funny but it will make sense in context.  Then he shows us how we can control parallelization of promises using Promise.all(). It&#8217;s a very sensible lesson, and not brain bendy at all.  (I really like those.)<\/p>\n<p>Please consider supporting Bart&#8217;s hard work for us via Patreon at <a href=\"http:\/\/www.patreon.com\/ltpod\" target=\"_blank\" rel=\"noopener noreferrer\">patreon.com\/ltpod<\/a><\/p>\n<p>Bart&#8217;s fabulous tutorial shownotes are available at <a href=\"https:\/\/pbs.bartificer.net\/pbs81\" target=\"%5Fblank\" rel=\"noopener\">pbs.bartificer.net\/&#8230;<\/a><\/p>\n<audio class=\"wp-audio-shortcode\" id=\"audio-18814-1\" preload=\"none\" style=\"width: 100%;\" controls=\"controls\"><source type=\"audio\/mpeg\" src=\"https:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2019_07_12.mp3?_=1\" \/><a href=\"https:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2019_07_12.mp3\">https:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2019_07_12.mp3<\/a><\/audio>\n<p><a title=\"mp3 download\" href=\"https:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2019_07_12.mp3\" target=\"_blank\" rel=\"noopener noreferrer\">mp3 download<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this installment of Programming By Stealth, Bart teaches us how to use Promises, with a capital P to get promises when we already know the value we want to supply. That sounds funny but it will make sense in context. Then he shows us how we can control parallelization of promises using Promise.all(). It&#8217;s [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":16218,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[147,172,1,213],"tags":[3492,177,240,3417,3493],"class_list":["post-18814","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog-posts","category-ccatp","category-podcasts","category-programming-by-stealth","tag-parallelization","tag-pbs","tag-programming-by-stealth","tag-promises","tag-series"],"jetpack_featured_media_url":"https:\/\/www.podfeet.com\/blog\/wp-content\/uploads\/2018\/08\/PBS_logo-16-grey.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/18814","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/comments?post=18814"}],"version-history":[{"count":3,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/18814\/revisions"}],"predecessor-version":[{"id":22716,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/18814\/revisions\/22716"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/media\/16218"}],"wp:attachment":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/media?parent=18814"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/categories?post=18814"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/tags?post=18814"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}