Object

io.scalajs.util

PromiseHelper

Related Doc: package util

Permalink

object PromiseHelper

Promise Helper

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PromiseHelper
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit final class TimeExtensions[T] extends AnyVal

    Permalink

    Time Measurement Extensions

    Time Measurement Extensions

    T

    the return type of the task

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Implicits

    Permalink

    Implicit conversion

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. def promiseCallback0(f: (Function0[Any]) ⇒ Unit): Future[Unit]

    Permalink

    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()
  17. def promiseCallback1[A](f: (Function1[A, Any]) ⇒ Unit): Future[A]

    Permalink

    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()
  18. def promiseCallback2[A, B](f: (Function2[A, B, Any]) ⇒ Unit): Future[(A, B)]

    Permalink

    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()
  19. def promiseCallback3[A, B, C](f: (Function3[A, B, C, Any]) ⇒ Unit): Future[(A, B, C)]

    Permalink

    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()
  20. def promiseCallback4[A, B, C, D](f: (Function4[A, B, C, D, Any]) ⇒ Unit): Future[(A, B, C, D)]

    Permalink

    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()
  21. def promiseCallback5[A, B, C, D, E](f: (Function5[A, B, C, D, E, Any]) ⇒ Unit): Future[(A, B, C, D, E)]

    Permalink

    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()
  22. 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)]

    Permalink

    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()
  23. 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)]

    Permalink

    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()
  24. 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)]

    Permalink

    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()
  25. def promiseWithError0[Z](f: (Function1[Z, Any]) ⇒ Unit): Future[Unit]

    Permalink

    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()
  26. def promiseWithError1[Z, A](f: (Function2[Z, A, Any]) ⇒ Unit): Future[A]

    Permalink

    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()
  27. def promiseWithError2[Z, A, B](f: (Function3[Z, A, B, Any]) ⇒ Unit): Future[(A, B)]

    Permalink

    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()
  28. def promiseWithError3[Z, A, B, C](f: (Function4[Z, A, B, C, Any]) ⇒ Unit): Future[(A, B, C)]

    Permalink

    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()
  29. def promiseWithError4[Z, A, B, C, D](f: (Function5[Z, A, B, C, D, Any]) ⇒ Unit): Future[(A, B, C, D)]

    Permalink

    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()
  30. def promiseWithError5[Z, A, B, C, D, E](f: (Function6[Z, A, B, C, D, E, Any]) ⇒ Unit): Future[(A, B, C, D, E)]

    Permalink

    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()
  31. 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)]

    Permalink

    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()
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  33. def time[T](action: String, task: ⇒ Future[T], showHeader: Boolean = false)(implicit ec: ExecutionContext): Future[T]

    Permalink
  34. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  35. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped