final class JSRichFuture[A] extends AnyVal
- Alphabetic
- By Inheritance
- JSRichFuture
- AnyVal
- Any
- by iterableOnceConvertible2JSRichIterableOnce
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
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] toany2stringadd[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] toArrowAssoc[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
- val col: collection.IterableOnce[T]
- Implicit
- This member is added by an implicit conversion from JSRichFuture[A] toJSRichIterableOnce[T] performed by method iterableOnceConvertible2JSRichIterableOnce in scala.scalajs.js.JSConverters.This conversion will take place only if an implicit value of type (JSRichFuture[A]) => collection.IterableOnce[T] is in scope.
- Definition Classes
- JSRichIterableOnce
- def ensuring(cond: (JSRichFuture[A]) => Boolean, msg: => scala.Any): JSRichFuture[A]
- Implicit
- This member is added by an implicit conversion from JSRichFuture[A] toEnsuring[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] toEnsuring[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] toEnsuring[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] toEnsuring[JSRichFuture[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from JSRichFuture[A] toStringFormat[JSRichFuture[A]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val self: Future[|[A, Thenable[A]]]
- final def toJSArray: Array[T]
- Implicit
- This member is added by an implicit conversion from JSRichFuture[A] toJSRichIterableOnce[T] performed by method iterableOnceConvertible2JSRichIterableOnce in scala.scalajs.js.JSConverters.This conversion will take place only if an implicit value of type (JSRichFuture[A]) => collection.IterableOnce[T] is in scope.
- Definition Classes
- JSRichIterableOnce
- def toJSPromise(implicit executor: 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
Deprecated Value Members
- def →[B](y: B): (JSRichFuture[A], B)
- Implicit
- This member is added by an implicit conversion from JSRichFuture[A] toArrowAssoc[JSRichFuture[A]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.