Class

wvlet.airframe.rx.Rx

ThrottleFirstOp

Related Doc: package Rx

Permalink

case class ThrottleFirstOp[A](input: Rx[A], interval: Long, unit: TimeUnit) extends UnaryRx[A, A] with Product with Serializable

Linear Supertypes
Product, Equals, UnaryRx[A, A], RxStream[A], LogSupport, LazyLogger, LoggingMethods, Serializable, Serializable, Rx[A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ThrottleFirstOp
  2. Product
  3. Equals
  4. UnaryRx
  5. RxStream
  6. LogSupport
  7. LazyLogger
  8. LoggingMethods
  9. Serializable
  10. Serializable
  11. Rx
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ThrottleFirstOp(input: Rx[A], interval: Long, unit: TimeUnit)

    Permalink

Value Members

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

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

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. def concat[A1 >: A](other: Rx[A1]): RxStream[A1]

    Permalink
    Definition Classes
    RxStream
  7. macro def debug(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  8. macro def debug(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. macro def error(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  11. macro def error(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  12. def filter(f: (A) ⇒ Boolean): RxStream[A]

    Permalink
    Definition Classes
    RxStream
  13. def flatMap[B](f: (A) ⇒ Rx[B]): RxStream[B]

    Permalink
    Definition Classes
    RxStream
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  15. macro def info(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  16. macro def info(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  17. val input: Rx[A]

    Permalink
    Definition Classes
    ThrottleFirstOpUnaryRx
  18. val interval: Long

    Permalink
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def join[B, C, D](b: Rx[B], c: Rx[C], d: Rx[D]): RxStream[(A, B, C, D)]

    Permalink
    Definition Classes
    RxStream
  21. def join[B, C](b: Rx[B], c: Rx[C]): RxStream[(A, B, C)]

    Permalink
    Definition Classes
    RxStream
  22. def join[B](other: Rx[B]): RxStream[(A, B)]

    Permalink

    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 { ...} }.

    Definition Classes
    RxStream
  23. def lastOption: RxOption[A]

    Permalink
    Definition Classes
    RxStream
  24. macro def logAt(logLevel: LogLevel, message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  25. lazy val logger: Logger

    Permalink
    Attributes
    protected[this]
    Definition Classes
    LazyLogger
  26. def map[B](f: (A) ⇒ B): RxStream[B]

    Permalink
    Definition Classes
    RxStream
  27. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  30. def parents: Seq[Rx[_]]

    Permalink
    Definition Classes
    UnaryRxRx
  31. def recover[U](f: PartialFunction[Throwable, U]): RxStream[U]

    Permalink

    Recover from a known error and emit a replacement value

    Recover from a known error and emit a replacement value

    Definition Classes
    Rx
  32. def recoverWith[A](f: PartialFunction[Throwable, Rx[A]]): RxStream[A]

    Permalink

    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

    Definition Classes
    Rx
  33. def run[U](effect: (A) ⇒ U): Cancelable

    Permalink

    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.

    Definition Classes
    Rx
  34. def runContinuously[U](effect: (A) ⇒ U): Cancelable

    Permalink

    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.

    Definition Classes
    Rx
  35. def sample(timeWindow: Long, unit: TimeUnit = TimeUnit.MILLISECONDS): RxStream[A]

    Permalink

    Emit the most recent item of the source within periodic time intervals.

    Emit the most recent item of the source within periodic time intervals.

    Definition Classes
    RxStream
  36. def subscribe[U](subscriber: (A) ⇒ U): Cancelable

    Permalink
    Definition Classes
    Rx
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  38. def take(n: Long): RxStream[A]

    Permalink

    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.

    Definition Classes
    RxStream
  39. def throttleFirst(timeWindow: Long, unit: TimeUnit = TimeUnit.MILLISECONDS): RxStream[A]

    Permalink

    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.

    Definition Classes
    RxStream
  40. def throttleLast(timeWindow: Long, unit: TimeUnit = TimeUnit.MILLISECONDS): RxStream[A]

    Permalink

    Emit the most recent item of the source within periodic time intervals.

    Emit the most recent item of the source within periodic time intervals.

    Definition Classes
    RxStream
  41. def toOption[X, A1 >: A](implicit ev: <:<[A1, Option[X]]): RxOption[X]

    Permalink
    Definition Classes
    RxStream
  42. def toRxStream: RxStream[A]

    Permalink
    Definition Classes
    RxStreamRx
  43. def toSeq: Seq[A]

    Permalink

    Materialize the stream as Seq[A].

    Materialize the stream as Seq[A]. This works only for the finite stream and for Scala JVM.

    Definition Classes
    Rx
  44. macro def trace(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  45. macro def trace(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  46. val unit: TimeUnit

    Permalink
  47. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. macro def warn(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  51. macro def warn(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  52. def withFilter(f: (A) ⇒ Boolean): RxStream[A]

    Permalink
    Definition Classes
    RxStream
  53. def withName(name: String): RxStream[A]

    Permalink
    Definition Classes
    RxStream
  54. def zip[B, C, D](b: Rx[B], c: Rx[C], d: Rx[D]): RxStream[(A, B, C, D)]

    Permalink
    Definition Classes
    RxStream
  55. def zip[B, C](b: Rx[B], c: Rx[C]): RxStream[(A, B, C)]

    Permalink
    Definition Classes
    RxStream
  56. def zip[B](other: Rx[B]): RxStream[(A, B)]

    Permalink

    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.

    Definition Classes
    RxStream

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Product

Inherited from Equals

Inherited from UnaryRx[A, A]

Inherited from RxStream[A]

Inherited from LogSupport

Inherited from LazyLogger

Inherited from LoggingMethods

Inherited from Serializable

Inherited from Serializable

Inherited from Rx[A]

Inherited from AnyRef

Inherited from Any

Ungrouped