The read-only priority property of the TaskSignal interface indicates the signal priority.
priority
MDN Reference