Update the variable and force notification to subscribers
Update the variable and force notification to subscribers
Emit a new output if one of Rx[A] or Rx[B] is changed.
Emit a new output if one of Rx[A] or Rx[B] is changed.
This method is useful when you need to monitor multiple Rx objects.
Using joins will be more intuitive than nesting multiple Rx operators like Rx[A].map { x => ... Rx[B].map { ...} }.
Recover from a known error and emit a replacement value
Recover from a known error and emit a replacement value
Recover from a known error and emit replacement values from a given Rx
Recover from a known error and emit replacement values from a given Rx
Evaluate this Rx[A] and apply the given effect function.
Evaluate this Rx[A] and apply the given effect function. Once OnError(e) or OnCompletion is observed, it will stop the evaluation.
Keep evaluating Rx[A] even if OnError(e) or OnCompletion is reported.
Keep evaluating Rx[A] even if OnError(e) or OnCompletion is reported. This is useful for keep processing streams.
Emit the most recent item of the source within periodic time intervals.
Emit the most recent item of the source within periodic time intervals.
Take an event up to n elements.
Take an event up to n elements. This may receive fewer events than n if the upstream operator completes before generating n elements.
Emit the first item of the source within each sampling period.
Emit the first item of the source within each sampling period. This is useful, for example, to prevent double-clicks of buttons.
Emit the most recent item of the source within periodic time intervals.
Emit the most recent item of the source within periodic time intervals.
Materialize the stream as Seq[A].
Materialize the stream as Seq[A]. This works only for the finite stream and for Scala JVM.
Updates the variable and trigger the recalculation of the subscribers currentValue => newValue
Combine two Rx streams to form a sequence of pairs.
Combine two Rx streams to form a sequence of pairs. This will emit a new pair when both of the streams are updated.
(Since version ) see corresponding Javadoc for more information.
A reactive variable supporting update and propagation of the updated value to the chained operators