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
Value members
Inherited methods
Merges the notifications of this subscription and sub2
Merges the notifications of this subscription and sub2
- Inherited from:
- Sub