co
.
technius
.
scalajs
.
mithril
.
Promise
RichPromise
Related Doc:
package Promise
implicit final
class
RichPromise
[
T
]
extends
AnyVal
Linear Supertypes
AnyVal
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
RichPromise
AnyVal
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
RichPromise
(
wrap:
Promise
[
T
]
)
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
flatMap
[
R
]
(
f: (
T
) ⇒
Promise
[
R
]
)
:
Promise
[
R
]
Annotations
@inline
()
def
foreach
(
f: (
T
) ⇒
Unit
)
:
Unit
Annotations
@inline
()
def
getClass
()
:
Class
[_ <:
AnyVal
]
Definition Classes
AnyVal → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
map
[
R
]
(
f: (
T
) ⇒
R
)
:
Promise
[
R
]
Annotations
@inline
()
def
onFailure
[
E
]
(
f:
PartialFunction
[
E
,
Unit
]
)
:
Unit
Annotations
@inline
()
def
onSuccess
(
f:
PartialFunction
[
T
,
Unit
]
)
:
Unit
Annotations
@inline
()
def
recover
[
U >:
T
]
(
f:
PartialFunction
[
Any
,
U
]
)
:
Promise
[
U
]
Annotations
@inline
()
def
toString
()
:
String
Definition Classes
Any
val
wrap
:
Promise
[
T
]
Inherited from
AnyVal
Inherited from
Any
Ungrouped