From 88ee673be7c0bc9c9e83f24c9cf771534f159933 Mon Sep 17 00:00:00 2001 From: Michal Mocny Date: Thu, 25 Apr 2024 17:39:27 +0000 Subject: [PATCH] address comments --- spec/scheduling-tasks.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/scheduling-tasks.md b/spec/scheduling-tasks.md index 4edb338..a3a2df8 100644 --- a/spec/scheduling-tasks.md +++ b/spec/scheduling-tasks.md @@ -148,7 +148,7 @@ A scheduler task is a [=/task=] with an additional numeric The following [=task sources=] are defined as scheduler task sources, and must only be used for [=scheduler tasks=]. -: The posted task's task source +: The posted task task source :: This [=task source=] is used for tasks scheduled through {{Scheduler/postTask()}}.
@@ -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: