Skip to content

Commit

Permalink
Add link to microtask_guide (#2815)
Browse files Browse the repository at this point in the history
Related: #1584
  • Loading branch information
jchimene authored Mar 16, 2021
1 parent 7b8dea1 commit 1712a1f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ <h3 id="Chained_Promises">Chained Promises</h3>
.catch(handleRejectedAny);
</pre>

<p>Using <code>{{JSxRef("Functions.arrow_functions", "Arrow Function Expressions")}}</code> for the callback functions, an implementation of a promise chain might look something like this:</p>
<p>Using <code>{{JSxRef("Functions/Arrow_functions", "Arrow Function Expressions")}}</code> for the callback functions, an implementation of a promise chain might look something like this:</p>

<pre class="brush: js">
promise1
Expand Down Expand Up @@ -211,7 +211,7 @@ <h2 id="Static_methods">Static methods</h2>
</dl>

<h2 id="Instance_methods">Instance methods</h2>

<p>See the <a target="_blank" href="/en-US/docs/Web/API/HTML_DOM_API/Microtask_guide" title="Microtask_guide">Microtask guide</a> to learn more about how these methods use the Microtask queue and services.</p>
<dl>
<dt>{{jsxref("Promise.prototype.catch()")}}</dt>
<dd>Appends a rejection handler callback to the promise, and returns a new promise resolving to the return value of the callback if it is called, or to its original fulfillment value if the promise is instead fulfilled.</dd>
Expand Down

0 comments on commit 1712a1f

Please sign in to comment.