From 426c398fafd9783f35fac694bf2d796294a706b0 Mon Sep 17 00:00:00 2001 From: Brendan Kenny Date: Thu, 22 Aug 2024 13:55:09 -0500 Subject: [PATCH] Remove remaining references to scheduler.yield options --- spec/scheduling-tasks.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/scheduling-tasks.md b/spec/scheduling-tasks.md index 82392da..cdb6de3 100644 --- a/spec/scheduling-tasks.md +++ b/spec/scheduling-tasks.md @@ -99,7 +99,7 @@ the API into existing code that uses {{AbortSignal|AbortSignals}}. milliseconds. -
result = scheduler . {{Scheduler/yield()|yield}}( |options| )
+
result = scheduler . {{Scheduler/yield()|yield}}()

Returns a promise that is fulfilled with undefined or rejected with the {{AbortSignal}}'s [=AbortSignal/abort reason=], if the continuation is aborted. @@ -142,8 +142,8 @@ The postTask(|call method steps are to return the result of [=scheduling a postTask task=] for [=this=] given |callback| and |options|. -The yield(|options|) method steps are to -return the result of [=scheduling a yield continuation=] for [=this=] given |options|. +The yield() method steps are to +return the result of [=scheduling a yield continuation=] for [=this=]. ## Definitions ## {#sec-scheduling-tasks-definitions}