Skip to content

Commit

Permalink
Rename to HostEnqueueGenericJob and remove need for agent signifier
Browse files Browse the repository at this point in the history
  • Loading branch information
syg committed May 10, 2023
1 parent 3229ce5 commit 33d51cc
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -2953,8 +2953,8 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<li>The <dfn data-x-href="https://tc39.es/ecma262/#sec-getfunctionrealm">GetFunctionRealm</dfn> abstract operation</li>
<li>The <dfn data-x-href="https://tc39.es/ecma262/#sec-hasownproperty">HasOwnProperty</dfn> abstract operation</li>
<li>The <dfn data-x="js-HostCallJobCallback" data-x-href="https://tc39.es/ecma262/#sec-hostcalljobcallback">HostCallJobCallback</dfn> abstract operation</li>
<li>The <dfn data-x="js-HostEnqueueCrossAgentJob" data-x-href="https://tc39.es/ecma262/#sec-hostenqueuecrossagentjob">HostEnqueueCrossAgentJob</dfn> abstract operation</li>
<li>The <dfn data-x="js-HostEnqueueFinalizationRegistryCleanupJob" data-x-href="https://tc39.es/ecma262/#sec-host-cleanup-finalization-registry">HostEnqueueFinalizationRegistryCleanupJob</dfn> abstract operation</li>
<li>The <dfn data-x="js-HostEnqueueGenericJob" data-x-href="https://tc39.es/ecma262/#sec-hostenqueuegenericjob">HostEnqueueGenericJob</dfn> abstract operation</li>
<li>The <dfn data-x="js-HostEnqueuePromiseJob" data-x-href="https://tc39.es/ecma262/#sec-hostenqueuepromisejob">HostEnqueuePromiseJob</dfn> abstract operation</li>
<li>The <dfn data-x="js-HostEnqueueTimeoutJob" data-x-href="https://tc39.es/ecma262/#sec-hostenqueuetimeoutjob">HostEnqueueTimeoutJob</dfn> abstract operation</li>
<li>The <dfn data-x="js-HostEnsureCanAddPrivateElement" data-x-href="https://tc39.es/ecma262/#sec-hostensurecanaddprivateelement">HostEnsureCanAddPrivateElement</dfn> abstract operation</li>
Expand Down Expand Up @@ -100644,23 +100644,6 @@ dictionary <dfn dictionary>PromiseRejectionEventInit</dfn> : <span>EventInit</sp
<li><p>Return <var>result</var>.</p></li>
</ol>

<h6 id="hostenqueuecrossagentjob"><dfn>HostEnqueueCrossAgentJob</dfn>(<var>job</var>,
<var>agentSignifier</var>, <var>realm</var>)</h6>

<p>JavaScript contains an <span>implementation-defined</span> <span
data-x="js-HostEnqueueCrossAgentJob">HostEnqueueCrossAgentJob</span>(<var>job</var>,
<var>agentSignifier</var>, <var>realm</var>) abstract operation to perform jobs across agents
(e.g., resolve Promises resulting from <code>Atomics.waitAsync</code>). User agents must use the
following implementation: <ref spec=JAVASCRIPT></p>

<ol>
<li><p>Let <var>global</var> be <var>realm</var>'s <span data-x="concept-realm-global">global
object</span>.</p></li>

<li><p><span>Queue a global task</span> on the <span>JavaScript engine task source</span> given
<var>global</var> to perform <var>job</var>().</p></li>
</ol>

<h6
id="hostenqueuefinalizationregistrycleanupjob"><dfn>HostEnqueueFinalizationRegistryCleanupJob</dfn>(<var>finalizationRegistry</var>)</h6>

Expand Down Expand Up @@ -100717,6 +100700,23 @@ dictionary <dfn dictionary>PromiseRejectionEventInit</dfn> : <span>EventInit</sp
</li>
</ol>

<h6 id="hostenqueuegenericjob"><dfn>HostEnqueueGenericJob</dfn>(<var>job</var>,
<var>realm</var>)</h6>

<p>JavaScript contains an <span>implementation-defined</span> <span
data-x="js-HostEnqueueGenericJob">HostEnqueueGenericJob</span>(<var>job</var>, <var>realm</var>)
abstract operation to perform generic jobs in a particular realm (e.g., resolve Promises resulting
from <code>Atomics.waitAsync</code>). User agents must use the following implementation: <ref
spec=JAVASCRIPT></p>

<ol>
<li><p>Let <var>global</var> be <var>realm</var>'s <span data-x="concept-realm-global">global
object</span>.</p></li>

<li><p><span>Queue a global task</span> on the <span>JavaScript engine task source</span> given
<var>global</var> to perform <var>job</var>().</p></li>
</ol>

<span id="integration-with-the-javascript-job-queue"></span>
<span id="enqueuejob(queuename,-job,-arguments)"></span>
<h6 id="hostenqueuepromisejob"><dfn>HostEnqueuePromiseJob</dfn>(<var>job</var>,
Expand Down

0 comments on commit 33d51cc

Please sign in to comment.