File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -318,8 +318,9 @@ A <dfn>task handle</dfn> is a [=struct=] with the following [=struct/items=]:
318
318
steps:
319
319
1 . Let |event loop| be the |scheduler|'s [ =relevant agent=] 's [ =agent/event loop=] .
320
320
1 . Set |event loop|'s [ =event loop/current scheduling state=] to |state|.
321
- 1 . Let |callbackResult| be the result of [ =invoking=] |callback|. If that threw an exception,
322
- then [ =reject=] |result| with that, otherwise resolve |result| with |callbackResult|.
321
+ 1 . Let |callbackResult| be the result of [ =invoking=] |callback| with « » and "` rethrow ` ".
322
+ If that threw an exception, then [ =reject=] |result| with that. Otherwise, [ =resolve=]
323
+ |result| with |callbackResult|.
323
324
1 . Set |event loop|'s [ =event loop/current scheduling state=] to null.
324
325
1 . Let |delay| be |options|[ "{{SchedulerPostTaskOptions/delay}}"] .
325
326
1 . If |delay| is greater than 0, then [ =run steps after a timeout=] given |scheduler|'s [ =relevant
You can’t perform that action at this time.
0 commit comments