<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Async Programming on Coderrob</title><link>https://coderrob.com/tags/async-programming/</link><description>Recent content in Async Programming on Coderrob</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Wed, 22 Oct 2025 21:00:00 -0500</lastBuildDate><atom:link href="https://coderrob.com/tags/async-programming/index.xml" rel="self" type="application/rss+xml"/><item><title>JavaScript Promise</title><link>https://coderrob.com/posts/javascript-promise/</link><pubDate>Wed, 22 Oct 2025 21:00:00 -0500</pubDate><guid>https://coderrob.com/posts/javascript-promise/</guid><description>&lt;p&gt;A &lt;code&gt;Promise&lt;/code&gt; is a guaranteed placeholder value for what a function or series of functions will return.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s a &lt;em&gt;promise&lt;/em&gt; to return a value eventually.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The function swears this time is different. You can trust it. It swears it&amp;rsquo;ll get it back to you in no time.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;If you haven&amp;rsquo;t already, check out my post on &lt;a href="../javascript-callbacks"&gt;JavaScript Callbacks&lt;/a&gt; where we dove into callback hell and why we desperately needed something better. Spoiler: Promises are that something better.&lt;/p&gt;</description></item><item><title>JavaScript Callbacks</title><link>https://coderrob.com/posts/javascript-callbacks/</link><pubDate>Mon, 03 May 2021 15:00:00 -0500</pubDate><guid>https://coderrob.com/posts/javascript-callbacks/</guid><description>&lt;h2 id="brief-history-of-callbacks"&gt;Brief History of Callbacks&lt;/h2&gt;
&lt;p&gt;It all starts with the callback function.&lt;/p&gt;
&lt;p&gt;A callback function is just a plain JavaScript function that is passed into another function as an argument.&lt;/p&gt;
&lt;p&gt;That&amp;rsquo;s it. Nothing special.&lt;/p&gt;
&lt;p&gt;This callback function can be used to return data, or to signal that some event took place.&lt;/p&gt;
&lt;p&gt;If you&amp;rsquo;ve worked with web development you&amp;rsquo;ve definitely crossed paths with callbacks.&lt;/p&gt;
&lt;p&gt;Think of a button &lt;code&gt;click&lt;/code&gt; event for a web page.&lt;/p&gt;</description></item></channel></rss>