wvlet.airframe.rx

Type members

Classlikes

Companion
object
object Cancelable
Companion
class
final implicit
class FutureConverter[A](val f: Future[A]) extends AnyVal
case
class ManualTicker(nanos: AtomicLong, autoIncrementStepNanos: Long) extends Ticker

A Ticker implementation that can be incremented manually for testing purpose

A Ticker implementation that can be incremented manually for testing purpose

This implementation is similar to FakeTicker in Guava: https://github.com/google/guava/blob/master/guava-testlib/src/com/google/common/testing/FakeTicker.java

case
object OnCompletion extends RxEvent
case
class OnError(e: Throwable) extends RxEvent
case
class OnNext(v: Any) extends RxEvent
trait Rx[+A]
Companion
object
object Rx extends LogSupport
Companion
class
class RxBlockingQueue[A] extends RxSource[A]

Blocking queue implementation for supporting gRPC streaming with Rx

Blocking queue implementation for supporting gRPC streaming with Rx

sealed
trait RxEvent

Observable event types. http://reactivex.io/documentation/observable.html

trait RxOption[+A] extends Rx[Option[A]]
trait RxOptionCache[A] extends RxOption[A]

An interface for enriching RxOption[A] with caching capability

An interface for enriching RxOption[A] with caching capability

case
class RxOptionCacheOp[A](input: RxStreamCache[Option[A]]) extends RxOptionCache[A]
case
class RxOptionOp[+A](in: RxStream[Option[A]]) extends RxOption[A]
class RxOptionVar[A](variable: RxVar[Option[A]]) extends RxOption[A] with RxVarOps[Option[A]]

RxVar implementation for Option[A] type values

RxVar implementation for Option[A] type values

sealed
trait RxResult

States for propagating the result of the downstream operators.

States for propagating the result of the downstream operators.

TODO: Add a state for telling how many elements can be received in downstream operators for implementing back-pressure

Companion
object
object RxResult
Companion
class
object RxRunner extends LogSupport
Companion
class
class RxRunner(continuous: Boolean) extends LogSupport
Companion
object
trait RxSource[A] extends RxStream[A]

Rx implementation where the data is provided from an external process.

Rx implementation where the data is provided from an external process.

trait RxStream[+A] extends Rx[A] with LogSupport

The base reactive stream interface that can receive events from upstream operators and chain next actions using Scala-collection like operators (e.g., map, filter, etc.)

The base reactive stream interface that can receive events from upstream operators and chain next actions using Scala-collection like operators (e.g., map, filter, etc.)

trait RxStreamCache[A] extends RxStream[A]

RxStream[A] with a caching capability

RxStream[A] with a caching capability

class RxVar[A](var currentValue: A) extends RxStream[A] with RxVarOps[A]

A reactive variable supporting update and propagation of the updated value to the chained operators

A reactive variable supporting update and propagation of the updated value to the chained operators

Companion
object
object RxVar
Companion
class
trait RxVarOps[A]
trait Ticker

Ticker is for measuring the elapsed time.

Ticker is for measuring the elapsed time.

Companion
object
object Ticker
Companion
class
object compat

Implicits

Implicits

final implicit
def FutureConverter[A](f: Future[A]): FutureConverter[A]