rx.ops

AsyncRxOps

implicit final class AsyncRxOps[T] extends AnyVal

Extends an Rx[Future[T]] to allow you to flatten it into an Rx[T] via the .async() method

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

Instance Constructors

  1. new AsyncRxOps(source: Rx[Future[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 async[P](default: T, discardLate: Boolean = true)(implicit executor: ExecutionContext, p: Propagator[P]): Rx[T]

    Flattens out an Rx[Future[T]] into a Rx[T].

    Flattens out an Rx[Future[T]] into a Rx[T]. If the first Future has not yet arrived, the Async contains its default value. Afterwards, it updates itself when and with whatever the Futures complete with.

    default

    The initial value of this Rx before any Future has completed.

    discardLate

    Whether or not to discard the result of Futures which complete "late": meaning it was created earlier but completed later than some other Future.

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

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

    Definition Classes
    Any
  8. val source: Rx[Future[T]]

  9. def toString(): String

    Definition Classes
    Any

Inherited from AnyVal

Inherited from NotNull

Inherited from Any

Ungrouped