FlatMapped

final case class FlatMapped[Err, Success, Success2](task: Task[Err, Success], f: Success => Task[Err, Success2]) extends Task[Err, Success2]
trait Serializable
trait Product
trait Equals
trait Task[Err, Success2]
class Object
trait Matchable
class Any

Value members

Inherited methods

def attempt[Msg](toMessage: Either[Err, Success2] => Msg): Cmd[Msg]

Turns this task into a command by transforming errors and successful values according to the f function

Turns this task into a command by transforming errors and successful values according to the f function

Inherited from:
Task
def flatMap[Success2, Err2 >: Err](f: Success2 => Task[Err2, Success2]): Task[Err2, Success2]

Sequentially applies this task and then another task given by the function f

Sequentially applies this task and then another task given by the function f

Inherited from:
Task
def map[Success2](f: Success2 => Success2): Task[Err, Success2]

Transforms successful values

Transforms successful values

Inherited from:
Task
def perform[Err2 >: Err](using Err2 =:= Nothing): Cmd[Success2]

Turns this task (that never fails) into a command

Turns this task (that never fails) into a command

Inherited from:
Task
def product[Success2, Err2 >: Err](that: Task[Err2, Success2]): Task[Err2, (Success2, Success2)]

Combines to tasks in parallel

Combines to tasks in parallel

Inherited from:
Task
Inherited from:
Product