Skip to content

FF140 TaskSignal.any() - added to expr feat #39634

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1921,8 +1921,7 @@ See [Firefox bug 1697647](https://bugzil.la/1697647) for more details.
### Prioritized Task Scheduling API

The [Prioritized Task Scheduling API](/en-US/docs/Web/API/Prioritized_Task_Scheduling_API) provides a standardized way to prioritize all tasks belonging to an application, whether they are defined in a website developer's code, or in third-party libraries and frameworks.
Support for most of the API was added behind a preference in Firefox version 101.
Firefox version 139 adds support for {{domxref("scheduler.yield()")}} and enables the API in the Nightly release.
From Firefox version 140 the API is both feature complete and enabled in the Nightly release.
([Firefox bug 1734997](https://bugzil.la/1734997) and [Firefox bug 1920115](https://bugzil.la/1920115)).

<table>
Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/tasksignal/any_static/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ TaskSignal.any(signals, init)
- : Contains optional configuration parameters. Currently only one property is defined:
- `priority` {{optional_inline}}
- : One of the following:
- A string which is one of `user-blocking`, `user-visible` and `background`.
- A [priority](/en-US/docs/Web/API/Prioritized_Task_Scheduling_API#task_priorities) string which is one of `user-blocking`, `user-visible` and `background`.
- A {{domxref("TaskSignal")}}.

### Return value
Expand All @@ -41,7 +41,7 @@ A `TaskSignal` instance. It will be aborted when the first signal passed into `s
- Its {{domxref("TaskSignal.priority", "priority")}} property will be determined by the `priority` parameter:

- If the `priority` parameter was a string, it will be the value of the string.
- If the `priority` parameter was a `TaskSignal`, it will be the value of that signal's `priority`.
- If the `priority` parameter was a `TaskSignal`, it will be the value of that signal's {{domxref("TaskSignal/priority","priority")}}.

## Examples

Expand Down