final class JSRichFuture[A] extends AnyVal
- Alphabetic
- By Inheritance
- JSRichFuture
- AnyVal
- Any
- by genTravConvertible2JSRichGenTrav
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: scala.Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from JSRichFuture[A] to any2stringadd[JSRichFuture[A]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (JSRichFuture[A], B)
- Implicit
- This member is added by an implicit conversion from JSRichFuture[A] to ArrowAssoc[JSRichFuture[A]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: scala.Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
ensuring(cond: (JSRichFuture[A]) ⇒ Boolean, msg: ⇒ scala.Any): JSRichFuture[A]
- Implicit
- This member is added by an implicit conversion from JSRichFuture[A] to Ensuring[JSRichFuture[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (JSRichFuture[A]) ⇒ Boolean): JSRichFuture[A]
- Implicit
- This member is added by an implicit conversion from JSRichFuture[A] to Ensuring[JSRichFuture[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ scala.Any): JSRichFuture[A]
- Implicit
- This member is added by an implicit conversion from JSRichFuture[A] to Ensuring[JSRichFuture[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): JSRichFuture[A]
- Implicit
- This member is added by an implicit conversion from JSRichFuture[A] to Ensuring[JSRichFuture[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
toJSArray: Array[T]
- Implicit
- This member is added by an implicit conversion from JSRichFuture[A] to JSRichGenTraversableOnce[T] performed by method genTravConvertible2JSRichGenTrav in scala.scalajs.js.JSConverters. This conversion will take place only if an implicit value of type (JSRichFuture[A]) ⇒ GenTraversableOnce[T] is in scope.
- Definition Classes
- JSRichGenTraversableOnce
-
def
toJSPromise(implicit ec: ExecutionContext): Promise[A]
Converts the Future to a JavaScript Promise.
Converts the Future to a JavaScript Promise.
Attention! The nature of the Promise class, from the ECMAScript specification, makes this method inherently un-typeable, because it is not type parametric.
The signature of the
toJSPromise
method is only valid provided that the values ofA
do not have athen
method. -
def
toString(): String
- Definition Classes
- Any
-
def
→[B](y: B): (JSRichFuture[A], B)
- Implicit
- This member is added by an implicit conversion from JSRichFuture[A] to ArrowAssoc[JSRichFuture[A]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Deprecated Value Members
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from JSRichFuture[A] to StringFormat[JSRichFuture[A]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.