RxRunner

wvlet.airframe.rx.RxRunner
See theRxRunner companion object
class RxRunner(continuous: Boolean) extends LogSupport

Attributes

Companion:
object
Graph
Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def run[A](rx: Rx[A])(effect: RxEvent => RxResult): Cancelable

Build an executable chain of Rx operators. The resulting chain will be registered as a subscriber to the root node (see RxVar.foreach). If the root value changes, the effect code block will be executed.

Build an executable chain of Rx operators. The resulting chain will be registered as a subscriber to the root node (see RxVar.foreach). If the root value changes, the effect code block will be executed.

Attributes

effect

a function to process the generated RxEvent. This function must return RxResult.Continue when the downstream operator can receive further events (OnNext). If the leaf sink operator issued OnError or OnCompletion event, this must return RxResult.Stop.

Inherited methods

inline protected def debug(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def debug(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def error(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def error(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def info(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def info(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def logAt(inline logLevel: LogLevel, inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def trace(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def trace(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def warn(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def warn(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods