object Sub
- Alphabetic
- By Inheritance
- Sub
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
case class
Combine[+Msg](sub1: Sub[Msg], sub2: Sub[Msg]) extends Sub[Msg] with Product with Serializable
Merge two subscriptions into a single one
-
case class
OfObservable[Err, Value, Msg](id: String, observable: Observable[Err, Value], f: (Either[Err, Value]) ⇒ Msg) extends Sub[Msg] with Product with Serializable
A subscription that forwards the notifications produced by the given
observable
A subscription that forwards the notifications produced by the given
observable
- Err
type of errors produced by the observable
- Value
type of notifications produced by the observable
- Msg
type of message produced by the subscription
- id
Globally unique identifier for this subscription
- observable
Observable that produces notifications
- f
a function that turns every notification into a message
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def every(interval: FiniteDuration, id: String): Sub[Date]
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- implicit val monoidKSub: MonoidK[Sub]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
ofTotalObservable[Msg](id: String, observable: Observable[Nothing, Msg]): Sub[Msg]
Same as
OfObservable
but when the observable never failsSame as
OfObservable
but when the observable never fails- id
Subscription id
- observable
Source of messages that never produces errors
- returns
A subscription to the messages source
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
timeout[Msg](duration: FiniteDuration, msg: Msg, id: String): Sub[Msg]
- Msg
Type of message
- duration
Duration of the timeout
- msg
Message produced by the timeout
- id
Globally unique identifier for this subscription
- returns
A subscription that notifies its subscribers with
msg
afterduration
.
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
object
Empty extends Sub[Nothing] with Product with Serializable
The empty subscription represents the absence of subscriptions