PriorityRunnable
mill.exec.ExecutionContexts.ThreadPool.PriorityRunnable
class PriorityRunnable(val priority: Int, run0: () => Unit) extends Runnable, Comparable[PriorityRunnable]
Subclass of java.lang.Runnable that assigns a priority to execute it
Priority 0 is the default priority of all Mill task, priorities <0 can be used to prioritize this runnable over most other tasks, while priorities >0 can be used to de-prioritize it.
Attributes
- Source
- ExecutionContexts.scala
- Graph
-
- Supertypes
-
trait Runnableclass Objecttrait Matchableclass Any
Members list
In this article