SingleInTask

sbt.std.SingleInTask
sealed trait SingleInTask[S]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def &&[T](alt: Task[T]): Task[T]
def andFinally(fin: => Unit): Task[S]
def dependsOn(tasks: Task[_]*): Task[S]
def doFinally(t: Task[Unit]): Task[S]
def failure: Task[Incomplete]
def flatMap[T](f: S => Task[T]): Task[T]
def flatMapN[T](f: S => Task[T]): Task[T]
def map[T](f: S => T): Task[T]
def mapN[T](f: S => T): Task[T]
def result: Task[Result[S]]
def ||[T >: S](alt: Task[T]): Task[T]

Deprecated methods

def flatFailure[T](f: Incomplete => Task[T]): Task[T]

Attributes

Deprecated
[Since version 0.13.0] Use the `failure` method to create a task that returns Incomplete when this task fails and then call `flatMap` on the new task.
def flatMapR[T](f: Result[S] => Task[T]): Task[T]

Attributes

Deprecated
[Since version 0.13.0] Use the `result` method to create a task that returns the full Result of this task. Then, call `flatMap` on the new task.
def mapFailure[T](f: Incomplete => T): Task[T]

Attributes

Deprecated
[Since version 0.13.0] Use the `failure` method to create a task that returns Incomplete when this task fails and then call `mapFailure` on the new task.
def mapR[T](f: Result[S] => T): Task[T]

Attributes

Deprecated
[Since version 0.13.0] Use the `result` method to create a task that returns the full Result of this task. Then, call `map` on the new task.