Result

mill.api.Result
See theResult companion object
sealed trait Result[+T]

The result of a task execution.

Type parameters

T

The result type of the computed task.

Attributes

Companion
object
Source
Result.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 => Result[V]): Result[V]

Attributes

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

Attributes

Source
Result.scala

Concrete methods

def asFailing: Option[Failing[T]]

Attributes

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

Attributes

Source
Result.scala
def getOrThrow: T

Attributes

Source
Result.scala