Success

mill.api.ExecResult.Success
@Scaladoc(value = "/**\n * A successful task execution.\n * @param value The value computed by the task.\n * @tparam T The result type of the computed task.\n */")
case class Success[+T](value: T) extends ExecResult[T]

A successful task execution.

Type parameters

T

The result type of the computed task.

Value parameters

value

The value computed by the task.

Attributes

Source
ExecResult.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait ExecResult[T]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def asSuccess: Option[Success[T]]

Attributes

Definition Classes
Source
ExecResult.scala
def flatMap[V](f: T => ExecResult[V]): ExecResult[V]

Attributes

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

Attributes

Source
ExecResult.scala

Inherited methods

def asFailing: Option[Failing[T]]

Attributes

Inherited from:
ExecResult
Source
ExecResult.scala
def get: T

Attributes

Inherited from:
ExecResult
Source
ExecResult.scala
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product