TaskPriorityChangeEvent Class
The prioritychange event fired at a TaskSignal when its priority changes (https://wicg.github.io/scheduling-apis/#sec-task-priority-change-event): the new priority is the one of its target.
public sealed class TaskPriorityChangeEvent : Event- Inheritance
EventTaskPriorityChangeEvent
Constructors
| Name | Description |
|---|---|
| TaskPriorityChangeEvent(string, TaskPriorityChangeEventInit) | Creates an event with the given type and initialization dictionary. |
TaskPriorityChangeEvent(string, TaskPriorityChangeEventInit)
TaskSignal.csCreates an event with the given type and initialization dictionary.
public TaskPriorityChangeEvent(string type, TaskPriorityChangeEventInit priorityChangeEventInitDict)Properties
| Name | Description |
|---|---|
| PreviousPriority | Gets the priority of the signal before the change. |
PreviousPriority
TaskSignal.csGets the priority of the signal before the change.
public TaskPriority PreviousPriority { get; }