Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mmocny committed Apr 25, 2024
1 parent 90e1a65 commit 88ee673
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/scheduling-tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ A <dfn>scheduler task</dfn> is a [=/task=] with an additional numeric
The following [=task sources=] are defined as <dfn>scheduler task sources</dfn>,
and must only be used for [=scheduler tasks=].

: <dfn>The posted task's task source</dfn>
: The <dfn>posted task task source</dfn>
:: This [=task source=] is used for tasks scheduled through {{Scheduler/postTask()}}.

<br/>
Expand Down Expand Up @@ -274,7 +274,7 @@ Issue: [=Run steps after a timeout=] doesn't necessarily account for suspension;
1. Let |enqueue order| be |scheduler|'s [=Scheduler/next enqueue order=].
1. Increment |scheduler|'s [=Scheduler/next enqueue order=] by 1.
1. Let |task| be the result of [=queuing a scheduler task=] on |queue| given |enqueue order|,
[=the posted task's task source=], and |document|, and that performs the following steps:
the [=posted task task source=], and |document|, and that performs the following steps:
1. Let |callback result| be the result of [=invoking=] |callback|. If that threw an exception,
then [=reject=] |result| with that, otherwise resolve |result| with |callback result|.
1. If |signal| is not null, then [=AbortSignal/add|add the following=] abort steps to it:
Expand Down

0 comments on commit 88ee673

Please sign in to comment.