Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for TaskSignal.
Developer library 6
Firefox 142 release notes for developers
ted, providing a standardized mechanism to assign and manage task priorities for an application. The supported interfaces include: Scheduler, TaskController, TaskSignal, TaskPriorityChangeEvent (and the prioritychange event), and the properties Window.scheduler and WorkerGlobalScope.scheduler. The Scheduling interface and the Navigator.scheduling property are not supported. ([Firefox bug 1966997](https://bugzil
Firefox 140 release notes for developers
belonging to an application, whether they are defined in a website developer's code, or in third-party libraries and frameworks. This adds support for the [`TaskSignal.any()`](/docs/Web/API/TaskSignal/any_static) static method, which returns a signal that is triggered when any of the `TaskSignal` objects it is created from are triggered. The API is now feature complete. ([Firefox bug 1964407](https://bugzil.la
Prioritized Task Scheduling API
u to specify a particular immutable priority. Once set, the priority cannot be changed. - `signal` This allows you to specify a signal, which may be either a TaskSignal or AbortSignal The signal is associated with a controller, which can be used to abort the task. A TaskSignal can also be used to set and change the task priority if the [task is mutable](#mutable_and_immutable_task_priority). - `delay` This allo
TaskSignal
Prioritized Task Scheduling API The **`TaskSignal`** interface of the [Prioritized Task Scheduling API](/docs/Web/API/Prioritized_Task_Scheduling_API) represents a signal object that allows you to communicate with a prioritized task, and abort it or change the [priority](/docs/Web/API/Prioritized_Task_Scheduling_API#task_priorities) (if required) via a TaskController object. An object of this type is created, and a
TaskSignal: any() static method
Prioritized Task Scheduling API The **`TaskSignal.any()`** static method takes an iterable of AbortSignal objects and returns a TaskSignal. The returned task signal is aborted when any of the abort signals is aborted. When the task signal is aborted, its reason property will be set to the reason of the first signal that is aborted. ## Syntax ```js-nolint TaskSignal.any(signals) TaskSignal.any(signals, init) ```
TaskSignal: prioritychange event
Prioritized Task Scheduling API The **`prioritychange`** event is sent to a TaskSignal if its [priority](/docs/Web/API/Prioritized_Task_Scheduling_API#task_priorities) is changed. ## Syntax Use the event name in addEventListener(): ```js-nolint addEventListener("prioritychange", (event) => { }) ``` Alternatively, assign to the [event handler property](/docs/Web/API/Document_Object_Model/Events#using_onevent_prop