TryObservable
com.raquo.airstream.extensions.TryObservable
final class TryObservable[A, Self <: (Observable)](val observable: BaseObservable[Self, Try[A]]) extends AnyVal
See also: OptionStream
Attributes
- Graph
-
- Supertypes
-
class AnyValtrait Matchableclass Any
Members list
Value members
Concrete methods
Maps the values in Success(x) and Failure(y) to a common type
Maps the values in Success(x) and Failure(y) to a common type
Attributes
Maps the value in Failure(x)
Maps the value in Failure(x)
Attributes
Maps the value in Success(x)
Maps the value in Success(x)
Attributes
Convert the Try to Either
Convert the Try to Either
Attributes
Convert the Try to Either and map the value in Left(x)
Convert the Try to Either and map the value in Left(x)
Attributes
Merge Try[A] into Try[AA >: A] by mapping the value in Failure(y)
Merge Try[A] into Try[AA >: A] by mapping the value in Failure(y)
Attributes
Unwrap Try to "undo" recoverToTry
– Encode Failure(err) as observable errors, and Success(v) as events
Unwrap Try to "undo" recoverToTry
– Encode Failure(err) as observable errors, and Success(v) as events
Attributes
Concrete fields
In this article