RunObservable

final case class RunObservable[Err, Success](observable: Observable[Err, Success]) extends Task[Err, Success]

A task that runs the given observable

trait Serializable
trait Product
trait Equals
trait Task[Err, Success]
class Object
trait Matchable
class Any

Value members

Inherited methods

def attempt[Msg](toMessage: Either[Err, Success] => 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: Success => 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: Success => Success2): Task[Err, Success2]

Transforms successful values

Transforms successful values

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

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, (Success, Success2)]

Combines to tasks in parallel

Combines to tasks in parallel

Inherited from:
Task
Inherited from:
Product