setPriority

The setPriority() method of the TaskController interface can be called to set a new priority for this controller's signal.

MDN Reference