FutureVal

org.sphix.FutureVal
case class FutureVal[A](future: Future[A])(implicit ec: ExecutionContext) extends FirableVal[Option[Try[A]]]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait FirableVal[Option[Try[A]]]
trait ValImpl[Option[Try[A]]]
trait ObservableValue[Option[Try[A]]]
trait Observable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def currentValue: Option[Try[A]]
def getValue: Option[Try[A]]

Inherited methods

def addListener(listener: ChangeListener[_ >: Option[Try[A]]]): Unit

Attributes

Inherited from:
ValImpl
def addListener(listener: InvalidationListener): Unit

Attributes

Inherited from:
ObservableImpl
def fire(): Unit

Attributes

Inherited from:
FirableVal
def flatMap[U <: <FromJavaObject>](x$0: Function[_ >: Option[Try[A]] <: <FromJavaObject>, _ <: ObservableValue[_ <: U]]): ObservableValue[U]

Attributes

Inherited from:
ObservableValue
def map[U <: <FromJavaObject>](x$0: Function[_ >: Option[Try[A]] <: <FromJavaObject>, _ <: U]): ObservableValue[U]

Attributes

Inherited from:
ObservableValue
def orElse(x$0: Option[Try[A]]): ObservableValue[T]

Attributes

Inherited from:
ObservableValue
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def removeListener(listener: ChangeListener[_ >: Option[Try[A]]]): Unit

Attributes

Inherited from:
ValImpl
def removeListener(listener: InvalidationListener): Unit

Attributes

Inherited from:
ObservableImpl
def when(x$0: ObservableValue[Boolean]): ObservableValue[T]

Attributes

Inherited from:
ObservableValue

Inherited fields

lazy protected val changeListeners: ListBuffer[ChangeListener[_ >: Option[Try[A]]]]

Attributes

Inherited from:
ValImpl
lazy protected val invalidationListeners: ListBuffer[InvalidationListener]

Attributes

Inherited from:
ObservableImpl