c

com.raquo.airstream.split

SplittableOptionSignal

final class SplittableOptionSignal[Input] extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SplittableOptionSignal
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SplittableOptionSignal(signal: Signal[Option[Input]])

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 getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  7. val signal: Signal[Option[Input]]
  8. def splitOption[Output](project: (Input, Signal[Input]) => Output, ifEmpty: => Output): Signal[Output]

    This .split-s a Signal of an Option by the Option's isDefined property.

    This .split-s a Signal of an Option by the Option's isDefined property. If you want a different key, use the .split operator directly.

    project

    - (initialInput, signalOfInput) => output project is called whenever signal switches from None to Some(). signalOfInput starts with initialInput value, and updates when the parent signal updates from Some(a) to Some(b).

    ifEmpty

    - returned if Option is empty. Evaluated whenever the parent signal switches from Some(a) to None, or when the parent signal starts with a None. ifEmpty is NOT re-evaluated when the parent signal emits None if its value is already None.

  9. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped