ThreadPool
A simple thread-pool-based ExecutionContext with configurable thread count and AutoCloseable support
Attributes
- Source
- ExecutionContexts.scala
- Graph
-
- Supertypes
Members list
Type members
Classlikes
Subclass of java.lang.Runnable that assigns a priority to execute it
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
- Supertypes
-
trait Runnableclass Objecttrait Matchableclass Any
Value members
Concrete methods
A variant of scala.concurrent.Future{...}
that sets the pwd
to a different folder dest and duplicates the logging streams to dest.log while evaluating t, to avoid conflict with other tasks that may be running concurrently
A variant of scala.concurrent.Future{...}
that sets the pwd
to a different folder dest and duplicates the logging streams to dest.log while evaluating t, to avoid conflict with other tasks that may be running concurrently
Attributes
- Source
- ExecutionContexts.scala
Awaits for the result for the given async future and returns the resultant value
Awaits for the result for the given async future and returns the resultant value
Attributes
- Source
- ExecutionContexts.scala
Attributes
- Source
- ExecutionContexts.scala
Attributes
- Source
- ExecutionContexts.scala
Attributes
- Source
- ExecutionContexts.scala
Attributes
- Source
- ExecutionContexts.scala
Attributes
- Source
- ExecutionContexts.scala
Inherited methods
Awaits for the result for multiple async futures and returns the resultant values
Awaits for the result for multiple async futures and returns the resultant values
Attributes
- Inherited from:
- Impl
- Source
- TaskCtx.scala
Deprecated and Inherited methods
Attributes
- Deprecated
-
[Since version 2.12.0]
preparation of ExecutionContexts will be removed - Inherited from:
- ExecutionContext
Concrete fields
Attributes
- Source
- ExecutionContexts.scala