OfObservable

final case class OfObservable[Err, Value, Msg](id: String, observable: Observable[Err, Value], f: Either[Err, Value] => Msg) extends Sub[Msg]

A subscription that forwards the notifications produced by the given observable

Type parameters:
Err

type of errors produced by the observable

Msg

type of message produced by the subscription

Value

type of notifications produced by the observable

Value parameters:
f

a function that turns every notification into a message

id

Globally unique identifier for this subscription

observable

Observable that produces notifications

trait Serializable
trait Product
trait Equals
trait Sub[Msg]
class Object
trait Matchable
class Any

Value members

Concrete methods

def map[OtherMsg](g: Msg => OtherMsg): Sub[OtherMsg]

Inherited methods

final def combine[LubMsg >: Msg](sub2: Sub[LubMsg]): Sub[LubMsg]

Merges the notifications of this subscription and sub2

Merges the notifications of this subscription and sub2

Inherited from:
Sub
Inherited from:
Product
final def |+|[LubMsg >: Msg](sub2: Sub[LubMsg]): Sub[LubMsg]
Inherited from:
Sub