You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<dd>It allows host environments to track promise rejections.</dd>
317
+
</dl>
318
+
<p>An implementation of HostPromiseRejectionTracker must conform to the following requirements:</p>
319
+
<ul>
320
+
<li>It must complete normally (i.e. not return an abrupt completion).</li>
321
+
</ul>
322
+
<p>The default implementation of HostPromiseRejectionTracker is to return ~unused~.</p>
323
+
324
+
<insclass="block">
325
+
<emu-note>
326
+
<p>An implementation of HostPromiseRejectionTracker that delays notifying developers of unhandled rejections must conform to the following requirements</p>
327
+
<ul>
328
+
<li>It must perform AsyncContextSnapshot() at the call of HostPromiseRejectionTracker,</li>
329
+
<li>It must perform AsyncContextSwap before the event notification, with the result of the AsyncContextSnapshot operation,</li>
330
+
<li>It must perform AsyncContextSwap after the event notification, with the result of the earlier AsyncContextSwap operation.</li>
0 commit comments