rx.ops

RxOps

implicit final class RxOps[+T] extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RxOps
  2. AnyVal
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RxOps(source: Rx[T])

Value Members

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

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

    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def debounce(interval: FiniteDuration)(implicit scheduler: Scheduler, ex: ExecutionContext): Rx[T]

    Creates a new Rx which debounces the original old Rx; updates coming in within interval of a previous update get ignored.

    Creates a new Rx which debounces the original old Rx; updates coming in within interval of a previous update get ignored. After the interval has passed, the last un-applied update (if any) will be applied to update the value of the Rx

  6. def delay(delay: FiniteDuration)(implicit scheduler: Scheduler, ex: ExecutionContext): Rx[T]

    Creates a new Rx which delays the original Rx; updates to the original Rx get delayed by delay seconds before continuing the propagation.

  7. def filter(successPred: (T) ⇒ Boolean): Rx[T]

    Creates a new Rx which ignores specific Success conditions of the source Rx; it will not propagate the changes, and simply remain holding on to its last value if the new value fails the filter.

    Creates a new Rx which ignores specific Success conditions of the source Rx; it will not propagate the changes, and simply remain holding on to its last value if the new value fails the filter. Optionally takes a failurePred, allowing it to filter the Failure conditions as well.

  8. def filterAll[A >: T](predicate: (Try[A]) ⇒ Boolean): Rx[A]

    Identical to filter(), except the entire Try[T] is available to your predicate rather than just the T.

  9. def foreach(callback: (T) ⇒ Unit, skipInitial: Boolean = false): Obs

    Causes the given callback to run every time this Rx's value is changed.

    Causes the given callback to run every time this Rx's value is changed. Returns the Obs which executes this callback, which should generally be assigned to a variable to avoid it from being garbage-collected.

  10. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  11. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  12. def map[A](f: (T) ⇒ A): Rx[A]

    Creates a new Rx which contains the value of the old Rx, except transformed by some function.

  13. def mapAll[A](f: (Try[T]) ⇒ Try[A]): Rx[A]

    Identical to map(), except the entire Try[T] is available to your transformer rather than just the T.

  14. def reduce[A >: T](combiner: (A, A) ⇒ A): Rx[A]

    Creates a new Rx which combines the values of the source Rx according to the given combiner function.

    Creates a new Rx which combines the values of the source Rx according to the given combiner function. Failures are passed through directly, and transitioning from a Failure to a Success(s) re-starts the combining using the result s of the Success.

  15. def reduceAll[A >: T](combiner: (Try[A], Try[A]) ⇒ Try[A]): Rx[A]

    Identical to reduce(), except both Try[T]s are available to your combiner, rather than just the Ts.

  16. def skipFailures: Rx[T]

    Creates a new Rx which ignores Failure conditions of the source Rx; it will not propagate the changes, and simply remain holding on to its last value

  17. val source: Rx[T]

  18. def toString(): String

    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped