Packages

t

fs2.internal.jsdeps.std

PromiseConstructor

trait PromiseConstructor extends scala.scalajs.js.Object with StObject with Instantiable1[Function2[Function1[|[scala.scalajs.js.Object, Thenable[scala.scalajs.js.Object]], Unit], Function1[UndefOr[Any], Unit], Unit], scala.scalajs.js.Promise[scala.scalajs.js.Object]]

Annotations
@JSType() @native()
Source
PromiseConstructor.scala
Linear Supertypes
Instantiable1[Function2[Function1[|[scala.scalajs.js.Object, Thenable[scala.scalajs.js.Object]], Unit], Function1[UndefOr[Any], Unit], Unit], scala.scalajs.js.Promise[scala.scalajs.js.Object]], StObject, scala.scalajs.js.Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PromiseConstructor
  2. Instantiable1
  3. StObject
  4. Object
  5. Any
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): scala.Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): scala.Boolean
    Definition Classes
    AnyRef → Any
  4. def all[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10](values: Tuple10[|[T1, Thenable[T1]], |[T2, Thenable[T2]], |[T3, Thenable[T3]], |[T4, Thenable[T4]], |[T5, Thenable[T5]], |[T6, Thenable[T6]], |[T7, Thenable[T7]], |[T8, Thenable[T8]], |[T9, Thenable[T9]], |[T10, Thenable[T10]]]): scala.scalajs.js.Promise[Tuple10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10]]

    Creates a Promise that is resolved with an array of results when all of the provided Promises resolve, or rejected when any Promise is rejected.

    Creates a Promise that is resolved with an array of results when all of the provided Promises resolve, or rejected when any Promise is rejected.

    values

    An array of Promises.

  5. def all[T1, T2, T3, T4, T5, T6, T7, T8, T9](values: Tuple9[|[T1, Thenable[T1]], |[T2, Thenable[T2]], |[T3, Thenable[T3]], |[T4, Thenable[T4]], |[T5, Thenable[T5]], |[T6, Thenable[T6]], |[T7, Thenable[T7]], |[T8, Thenable[T8]], |[T9, Thenable[T9]]]): scala.scalajs.js.Promise[Tuple9[T1, T2, T3, T4, T5, T6, T7, T8, T9]]

    Creates a Promise that is resolved with an array of results when all of the provided Promises resolve, or rejected when any Promise is rejected.

    Creates a Promise that is resolved with an array of results when all of the provided Promises resolve, or rejected when any Promise is rejected.

    values

    An array of Promises.

  6. def all[T1, T2, T3, T4, T5, T6, T7, T8](values: Tuple8[|[T1, Thenable[T1]], |[T2, Thenable[T2]], |[T3, Thenable[T3]], |[T4, Thenable[T4]], |[T5, Thenable[T5]], |[T6, Thenable[T6]], |[T7, Thenable[T7]], |[T8, Thenable[T8]]]): scala.scalajs.js.Promise[Tuple8[T1, T2, T3, T4, T5, T6, T7, T8]]

    Creates a Promise that is resolved with an array of results when all of the provided Promises resolve, or rejected when any Promise is rejected.

    Creates a Promise that is resolved with an array of results when all of the provided Promises resolve, or rejected when any Promise is rejected.

    values

    An array of Promises.

  7. def all[T1, T2, T3, T4, T5, T6, T7](values: Tuple7[|[T1, Thenable[T1]], |[T2, Thenable[T2]], |[T3, Thenable[T3]], |[T4, Thenable[T4]], |[T5, Thenable[T5]], |[T6, Thenable[T6]], |[T7, Thenable[T7]]]): scala.scalajs.js.Promise[Tuple7[T1, T2, T3, T4, T5, T6, T7]]

    Creates a Promise that is resolved with an array of results when all of the provided Promises resolve, or rejected when any Promise is rejected.

    Creates a Promise that is resolved with an array of results when all of the provided Promises resolve, or rejected when any Promise is rejected.

    values

    An array of Promises.

  8. def all[T1, T2, T3, T4, T5, T6](values: Tuple6[|[T1, Thenable[T1]], |[T2, Thenable[T2]], |[T3, Thenable[T3]], |[T4, Thenable[T4]], |[T5, Thenable[T5]], |[T6, Thenable[T6]]]): scala.scalajs.js.Promise[Tuple6[T1, T2, T3, T4, T5, T6]]

    Creates a Promise that is resolved with an array of results when all of the provided Promises resolve, or rejected when any Promise is rejected.

    Creates a Promise that is resolved with an array of results when all of the provided Promises resolve, or rejected when any Promise is rejected.

    values

    An array of Promises.

  9. def all[T1, T2, T3, T4, T5](values: Tuple5[|[T1, Thenable[T1]], |[T2, Thenable[T2]], |[T3, Thenable[T3]], |[T4, Thenable[T4]], |[T5, Thenable[T5]]]): scala.scalajs.js.Promise[Tuple5[T1, T2, T3, T4, T5]]

    Creates a Promise that is resolved with an array of results when all of the provided Promises resolve, or rejected when any Promise is rejected.

    Creates a Promise that is resolved with an array of results when all of the provided Promises resolve, or rejected when any Promise is rejected.

    values

    An array of Promises.

  10. def all[T1, T2, T3, T4](values: Tuple4[|[T1, Thenable[T1]], |[T2, Thenable[T2]], |[T3, Thenable[T3]], |[T4, Thenable[T4]]]): scala.scalajs.js.Promise[Tuple4[T1, T2, T3, T4]]

    Creates a Promise that is resolved with an array of results when all of the provided Promises resolve, or rejected when any Promise is rejected.

    Creates a Promise that is resolved with an array of results when all of the provided Promises resolve, or rejected when any Promise is rejected.

    values

    An array of Promises.

  11. def all[T1, T2, T3](values: Tuple3[|[T1, Thenable[T1]], |[T2, Thenable[T2]], |[T3, Thenable[T3]]]): scala.scalajs.js.Promise[Tuple3[T1, T2, T3]]

    Creates a Promise that is resolved with an array of results when all of the provided Promises resolve, or rejected when any Promise is rejected.

    Creates a Promise that is resolved with an array of results when all of the provided Promises resolve, or rejected when any Promise is rejected.

    values

    An array of Promises.

  12. def all[T1, T2](values: Tuple2[|[T1, Thenable[T1]], |[T2, Thenable[T2]]]): scala.scalajs.js.Promise[Tuple2[T1, T2]]

    Creates a Promise that is resolved with an array of results when all of the provided Promises resolve, or rejected when any Promise is rejected.

    Creates a Promise that is resolved with an array of results when all of the provided Promises resolve, or rejected when any Promise is rejected.

    values

    An array of Promises.

  13. def all[T](values: scala.scalajs.js.Iterable[|[T, Thenable[T]]]): scala.scalajs.js.Promise[scala.scalajs.js.Array[T]]

    Creates a Promise that is resolved with an array of results when all of the provided Promises resolve, or rejected when any Promise is rejected.

    Creates a Promise that is resolved with an array of results when all of the provided Promises resolve, or rejected when any Promise is rejected.

    values

    An iterable of Promises.

  14. def all[T](values: scala.scalajs.js.Array[|[T, Thenable[T]]]): scala.scalajs.js.Promise[scala.scalajs.js.Array[T]]

    Creates a Promise that is resolved with an array of results when all of the provided Promises resolve, or rejected when any Promise is rejected.

    Creates a Promise that is resolved with an array of results when all of the provided Promises resolve, or rejected when any Promise is rejected.

    values

    An array of Promises.

  15. def allSettled[T](values: scala.scalajs.js.Iterable[T]): scala.scalajs.js.Promise[scala.scalajs.js.Array[PromiseSettledResult[T]]]

    Creates a Promise that is resolved with an array of results when all of the provided Promises resolve or reject.

    Creates a Promise that is resolved with an array of results when all of the provided Promises resolve or reject.

    values

    An array of Promises.

  16. def allSettled[T](values: T): scala.scalajs.js.Promise[stdStrings.PromiseConstructor with TopLevel[Any]]

    Creates a Promise that is resolved with an array of results when all of the provided Promises resolve or reject.

    Creates a Promise that is resolved with an array of results when all of the provided Promises resolve or reject.

    values

    An array of Promises.

  17. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  18. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  19. final def eq(arg0: AnyRef): scala.Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: AnyRef): scala.Boolean
    Definition Classes
    AnyRef → Any
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  22. def hasOwnProperty(v: scala.Predef.String): scala.Boolean
    Definition Classes
    Object
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  24. final def isInstanceOf[T0]: scala.Boolean
    Definition Classes
    Any
  25. def isPrototypeOf(v: scala.scalajs.js.Object): scala.Boolean
    Definition Classes
    Object
  26. final def ne(arg0: AnyRef): scala.Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  29. def propertyIsEnumerable(v: scala.Predef.String): scala.Boolean
    Definition Classes
    Object
  30. def race[T](values: scala.scalajs.js.Iterable[|[T, Thenable[T]]]): scala.scalajs.js.Promise[T]

    Creates a Promise that is resolved or rejected when any of the provided Promises are resolved or rejected.

    Creates a Promise that is resolved or rejected when any of the provided Promises are resolved or rejected.

    values

    An iterable of Promises.

  31. def race[T](values: scala.scalajs.js.Array[T]): scala.scalajs.js.Promise[T]

    Creates a Promise that is resolved or rejected when any of the provided Promises are resolved or rejected.

    Creates a Promise that is resolved or rejected when any of the provided Promises are resolved or rejected.

    values

    An array of Promises.

  32. def reject[T](reason: Any): scala.scalajs.js.Promise[T]
  33. def reject[T](): scala.scalajs.js.Promise[T]

    Creates a new rejected promise for the provided reason.

  34. def resolve[T](value: Thenable[T]): scala.scalajs.js.Promise[T]
  35. def resolve[T](value: T): scala.scalajs.js.Promise[T]

    Creates a new resolved promise for the provided value.

    Creates a new resolved promise for the provided value.

    value

    A promise.

  36. def resolve(): scala.scalajs.js.Promise[Unit]

    Creates a new resolved promise.

  37. val species: PromiseConstructor
    Annotations
    @JSName(js.Symbol.species)
  38. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  39. def toLocaleString(): scala.Predef.String
    Definition Classes
    Object
  40. def toString(): java.lang.String
    Definition Classes
    AnyRef → Any
  41. def valueOf(): Any
    Definition Classes
    Object
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Instantiable1[Function2[Function1[|[scala.scalajs.js.Object, Thenable[scala.scalajs.js.Object]], Unit], Function1[UndefOr[Any], Unit], Unit], scala.scalajs.js.Promise[scala.scalajs.js.Object]]

Inherited from StObject

Inherited from scala.scalajs.js.Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped