Class/Object

org.dsa.iot.rx.core

CombineLatest2

Related Docs: object CombineLatest2 | package core

Permalink

class CombineLatest2[T1, T2] extends RxMerger2[T1, T2, (T1, T2)]

Combines two Observables into a single Observable of Tuple2, emitting a new tuple each time either of the sources emits a new item.

See also

ReactiveX operators documentation: CombineLatest

Linear Supertypes
RxMerger2[T1, T2, (T1, T2)], AbstractRxBlock[(T1, T2)], Logging, RxBlock[(T1, T2)], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CombineLatest2
  2. RxMerger2
  3. AbstractRxBlock
  4. Logging
  5. RxBlock
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CombineLatest2()

    Permalink

Type Members

  1. case class Port[X](name: String) extends Product with Serializable

    Permalink

    Connector for attributes and inputs.

    Connector for attributes and inputs. Provides the input as Observable[X].

    Definition Classes
    AbstractRxBlock
  2. case class PortList[X](name: String) extends IndexedSeq[Port[X]] with Product with Serializable

    Permalink

    Connector for a list of attributes or inputs.

    Connector for a list of attributes or inputs.

    Definition Classes
    AbstractRxBlock

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def <~(a: AbstractRxBlock[_ <: T1], b: AbstractRxBlock[_ <: T2]): Unit

    Permalink
    Definition Classes
    RxMerger2
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def compute: Observable[(T1, T2)]

    Permalink

    computes the block's output

    computes the block's output

    Attributes
    protected
    Definition Classes
    CombineLatest2AbstractRxBlock
  8. def debug(message: ⇒ String, args: Any*): Unit

    Permalink
    Definition Classes
    Logging
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def error(message: ⇒ String, err: Throwable): Unit

    Permalink
    Definition Classes
    Logging
  12. def error(message: ⇒ String, args: Any*): Unit

    Permalink
    Definition Classes
    Logging
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def from(a: AbstractRxBlock[_ <: T1], b: AbstractRxBlock[_ <: T2]): Unit

    Permalink
    Definition Classes
    RxMerger2
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. val id: String

    Permalink

    Generates block's id for logging.

    Generates block's id for logging.

    Attributes
    protected
    Definition Classes
    AbstractRxBlock
  18. def info(message: ⇒ String, args: Any*): Unit

    Permalink
    Definition Classes
    Logging
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def observe: Observable[(T1, T2)]

    Permalink

    The currently established Observable output.

    The currently established Observable output.

    Definition Classes
    AbstractRxBlockRxBlock
  24. lazy val output: Observable[(T1, T2)]

    Permalink

    Returns the block's output as an Observable.

    Returns the block's output as an Observable. This observable is stable in the sense that it keeps emitting items, whether the block has been reset, or its inputs changed etc., i.e. it never calls onError or onCompleted methods on its subscribers until the block's shutdown() method is called.

    Definition Classes
    AbstractRxBlockRxBlock
  25. def reset(): Unit

    Permalink

    Resets the block by renewing the subscriptions and re-initiating the sequence.

    Resets the block by renewing the subscriptions and re-initiating the sequence.

    Definition Classes
    AbstractRxBlockRxBlock
  26. def shutdown(): Unit

    Permalink

    Cancels all subscriptions and stops emitting items.

    Cancels all subscriptions and stops emitting items.

    Definition Classes
    AbstractRxBlockRxBlock
  27. val source1: Port[T1]

    Permalink
    Definition Classes
    RxMerger2
  28. val source2: Port[T2]

    Permalink
    Definition Classes
    RxMerger2
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def to[U](block: RxTransformer[_ >: (T1, T2), U]): block.type

    Permalink

    Connects the output of this block to source input port of a transformer block.

    Connects the output of this block to source input port of a transformer block.

    Definition Classes
    AbstractRxBlock
  31. def to[T](port: Port[_ >: (T1, T2)]): owner.type

    Permalink

    Connects the output of this block to an input port of another block.

    Connects the output of this block to an input port of another block.

    Definition Classes
    AbstractRxBlock
  32. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  33. def trace(message: ⇒ String, args: Any*): Unit

    Permalink
    Definition Classes
    Logging
  34. def unsubsribeOutput(): Unit

    Permalink

    Cancels the output subscription.

    Cancels the output subscription.

    Attributes
    protected
    Definition Classes
    AbstractRxBlock
  35. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def warn(message: ⇒ String, err: Throwable): Unit

    Permalink
    Definition Classes
    Logging
  39. def warn(message: ⇒ String, args: Any*): Unit

    Permalink
    Definition Classes
    Logging
  40. def withEvents(name: String)(stream: Observable[(T1, T2)]): Observable[(T1, T2)]

    Permalink

    Decorates the observable by adding listeners for its lifecycle events.

    Decorates the observable by adding listeners for its lifecycle events.

    Attributes
    protected
    Definition Classes
    AbstractRxBlock
  41. def ~>[U](block: RxTransformer[_ >: (T1, T2), U]): block.type

    Permalink

    Connects the output of this block to source input port of a transformer block.

    Connects the output of this block to source input port of a transformer block. An alias for to(block).

    Definition Classes
    AbstractRxBlock
  42. def ~>[T](port: Port[_ >: (T1, T2)]): AbstractRxBlock[T]

    Permalink

    Connects the output of this block to an input port of another block.

    Connects the output of this block to an input port of another block. An alias for to(port).

    Definition Classes
    AbstractRxBlock

Inherited from RxMerger2[T1, T2, (T1, T2)]

Inherited from AbstractRxBlock[(T1, T2)]

Inherited from Logging

Inherited from RxBlock[(T1, T2)]

Inherited from AnyRef

Inherited from Any

Ungrouped