Object/Trait

rescala.operator

Pulse

Related Docs: trait Pulse | package operator

Permalink

object Pulse

Object containing utility functions for using pulses

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Pulse
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class Exceptional(throwable: Throwable) extends Pulse[Nothing] with Product with Serializable

    Permalink

    Pulse indicating an exception

  2. final case class Value[+P](update: P) extends Pulse[P] with Product with Serializable

    Permalink

    Pulse indicating a change

    Pulse indicating a change

    update

    Updated value stored by the pulse

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. object NoChange extends Pulse[Nothing] with Product with Serializable

    Permalink

    Pulse indicating no change

  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @throws( ... )
  7. def diffPulse[P](newValue: P, oldPulse: Pulse[P]): Pulse[P]

    Permalink

    Transforms the given pulse and an updated value into a pulse indicating a change from the pulse's value to the given updated value.

  8. val empty: Exceptional

    Permalink

    the pulse representing an empty signal

  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def fromOption[P](opt: Option[P]): Pulse[P]

    Permalink

    Transforms an optional value into a pulse.

    Transforms an optional value into a pulse. If the option doesn't contain a value, an empty pulse indicating no change is returned. Otherwise, a pulse with the option's value set as updated value is returned.

    P

    Value type of both option and returned pulse

    opt

    Option to transform into a pulse

    returns

    Pulse with the option's value set as updated value, or an empty pulse if the option doesn't have a value.

  12. def fromTry[P](tried: Try[P]): Pulse[P]

    Permalink

    Transforms a Try into a Value or Exceptional Pulse

  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate()
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate()
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate()
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. def tryCatch[P](f: ⇒ Pulse[P], onEmpty: Pulse[P] = Pulse.empty): Pulse[P]

    Permalink

    wrap a pulse generating function to store eventual exceptions into an exceptional pulse

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

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 AnyRef

Inherited from Any

Ungrouped