ExecResult

mill.api.ExecResult
See theExecResult companion object
@Scaladoc(value = "/**\n * The result of a task execution.\n *\n * @tparam T The result type of the computed task.\n */")
sealed trait ExecResult[+T]

The result of a task execution.

Type parameters

T

The result type of the computed task.

Attributes

Companion
object
Source
ExecResult.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Aborted
trait Failing[T]
class Exception
class Failure[T]
object Skipped
class Success[T]
Show all

Members list

Value members

Abstract methods

def flatMap[V](f: T => ExecResult[V]): ExecResult[V]

Attributes

Source
ExecResult.scala
def map[V](f: T => V): ExecResult[V]

Attributes

Source
ExecResult.scala

Concrete methods

def asFailing: Option[Failing[T]]

Attributes

Source
ExecResult.scala
def asSuccess: Option[Success[T]]

Attributes

Source
ExecResult.scala
def get: T

Attributes

Source
ExecResult.scala