object PromiseHelper
Promise Helper
- Alphabetic
- By Inheritance
- PromiseHelper
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def promiseCallback0(f: (Function0[Any]) => Unit): Future[Unit]
Converts a JavaScript-style callback to a Scala.js promise
Converts a JavaScript-style callback to a Scala.js promise
- f
the given callback function
- returns
a Scala.js promise
- Annotations
- @inline()
- def promiseCallback1[A](f: (Function1[A, Any]) => Unit): Future[A]
Converts a JavaScript-style callback to a Scala.js promise
Converts a JavaScript-style callback to a Scala.js promise
- f
the given callback function
- returns
a Scala.js promise
- Annotations
- @inline()
- def promiseCallback2[A, B](f: (Function2[A, B, Any]) => Unit): Future[(A, B)]
Converts a JavaScript-style callback to a Scala.js promise
Converts a JavaScript-style callback to a Scala.js promise
- f
the given callback function
- returns
a Scala.js promise
- Annotations
- @inline()
- def promiseCallback3[A, B, C](f: (Function3[A, B, C, Any]) => Unit): Future[(A, B, C)]
Converts a JavaScript-style callback to a Scala.js promise
Converts a JavaScript-style callback to a Scala.js promise
- f
the given callback function
- returns
a Scala.js promise
- Annotations
- @inline()
- def promiseCallback4[A, B, C, D](f: (Function4[A, B, C, D, Any]) => Unit): Future[(A, B, C, D)]
Converts a JavaScript-style callback to a Scala.js promise
Converts a JavaScript-style callback to a Scala.js promise
- f
the given callback function
- returns
a Scala.js promise
- Annotations
- @inline()
- def promiseCallback5[A, B, C, D, E](f: (Function5[A, B, C, D, E, Any]) => Unit): Future[(A, B, C, D, E)]
Converts a JavaScript-style callback to a Scala.js promise
Converts a JavaScript-style callback to a Scala.js promise
- f
the given callback function
- returns
a Scala.js promise
- Annotations
- @inline()
- def promiseCallback6[A, B, C, D, E, F](f: (Function6[A, B, C, D, E, F, Any]) => Unit): Future[(A, B, C, D, E, F)]
Converts a JavaScript-style callback to a Scala.js promise
Converts a JavaScript-style callback to a Scala.js promise
- f
the given callback function
- returns
a Scala.js promise
- Annotations
- @inline()
- def promiseCallback7[A, B, C, D, E, F, G](f: (Function7[A, B, C, D, E, F, G, Any]) => Unit): Future[(A, B, C, D, E, F, G)]
Converts a JavaScript-style callback to a Scala.js promise
Converts a JavaScript-style callback to a Scala.js promise
- f
the given callback function
- returns
a Scala.js promise
- Annotations
- @inline()
- def promiseCallback8[A, B, C, D, E, F, G, H](f: (Function8[A, B, C, D, E, F, G, H, Any]) => Unit): Future[(A, B, C, D, E, F, G, H)]
Converts a JavaScript-style callback to a Scala.js promise
Converts a JavaScript-style callback to a Scala.js promise
- f
the given callback function
- returns
a Scala.js promise
- Annotations
- @inline()
- def promiseWithError0[Z](f: (Function1[Z, Any]) => Unit): Future[Unit]
Converts a JavaScript-style callback to a Scala.js promise
Converts a JavaScript-style callback to a Scala.js promise
- f
the given callback function
- returns
a Scala.js promise
- Annotations
- @inline()
- def promiseWithError1[Z, A](f: (Function2[Z, A, Any]) => Unit): Future[A]
Converts a JavaScript-style callback to a Scala.js promise
Converts a JavaScript-style callback to a Scala.js promise
- f
the given callback function
- returns
a Scala.js promise
- Annotations
- @inline()
- def promiseWithError2[Z, A, B](f: (Function3[Z, A, B, Any]) => Unit): Future[(A, B)]
Converts a JavaScript-style callback to a Scala.js promise
Converts a JavaScript-style callback to a Scala.js promise
- f
the given callback function
- returns
a Scala.js promise
- Annotations
- @inline()
- def promiseWithError3[Z, A, B, C](f: (Function4[Z, A, B, C, Any]) => Unit): Future[(A, B, C)]
Converts a JavaScript-style callback to a Scala.js promise
Converts a JavaScript-style callback to a Scala.js promise
- f
the given callback function
- returns
a Scala.js promise
- Annotations
- @inline()
- def promiseWithError4[Z, A, B, C, D](f: (Function5[Z, A, B, C, D, Any]) => Unit): Future[(A, B, C, D)]
Converts a JavaScript-style callback to a Scala.js promise
Converts a JavaScript-style callback to a Scala.js promise
- f
the given callback function
- returns
a Scala.js promise
- Annotations
- @inline()
- def promiseWithError5[Z, A, B, C, D, E](f: (Function6[Z, A, B, C, D, E, Any]) => Unit): Future[(A, B, C, D, E)]
Converts a JavaScript-style callback to a Scala.js promise
Converts a JavaScript-style callback to a Scala.js promise
- f
the given callback function
- returns
a Scala.js promise
- Annotations
- @inline()
- def promiseWithError6[Z, A, B, C, D, E, F](f: (Function7[Z, A, B, C, D, E, F, Any]) => Unit): Future[(A, B, C, D, E, F)]
Converts a JavaScript-style callback to a Scala.js promise
Converts a JavaScript-style callback to a Scala.js promise
- f
the given callback function
- returns
a Scala.js promise
- Annotations
- @inline()
- def promiseWithErrorAsBoolean[Z](f: (Function1[Z, Any]) => Unit): Future[Boolean]
Converts a JavaScript-style callback to a Scala.js promise.
Converts a JavaScript-style callback to a Scala.js promise. Promise always success and contains true if callback does not receive error, otherwise contains false.
- f
the given callback function
- returns
a Scala.js promise
- Annotations
- @inline()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])