Success

mill.api.daemon.ExecResult.Success
final 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 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]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala