Trait

scala.async.internal.FutureSystem

Ops

Related Doc: package FutureSystem

Permalink

trait Ops extends AnyRef

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

Abstract Value Members

  1. abstract val c: Context

    Permalink
  2. abstract def completeProm[A](prom: reflect.macros.Universe.Expr[Prom[A]], value: reflect.macros.Universe.Expr[Tryy[A]]): reflect.macros.Universe.Expr[Unit]

    Permalink

    Complete a promise with a value

  3. abstract def createProm[A](implicit arg0: reflect.macros.Universe.WeakTypeTag[A]): reflect.macros.Universe.Expr[Prom[A]]

    Permalink

    Create an empty promise

  4. abstract def execContextType: reflect.macros.Universe.Type

    Permalink
  5. abstract def future[A](a: reflect.macros.Universe.Expr[A])(execContext: reflect.macros.Universe.Expr[ExecContext])(implicit arg0: reflect.macros.Universe.WeakTypeTag[A]): reflect.macros.Universe.Expr[Fut[A]]

    Permalink

    Construct a future to asynchronously compute the given expression

  6. abstract def onComplete[A, U](future: reflect.macros.Universe.Expr[Fut[A]], fun: reflect.macros.Universe.Expr[(Tryy[A]) ⇒ U], execContext: reflect.macros.Universe.Expr[ExecContext]): reflect.macros.Universe.Expr[Unit]

    Permalink

    Register an call back to run on completion of the given future

  7. abstract def promType[A](implicit arg0: reflect.macros.Universe.WeakTypeTag[A]): reflect.macros.Universe.Type

    Permalink
  8. abstract def promiseToFuture[A](prom: reflect.macros.Universe.Expr[Prom[A]])(implicit arg0: reflect.macros.Universe.WeakTypeTag[A]): reflect.macros.Universe.Expr[Fut[A]]

    Permalink

    Extract a future from the given promise.

  9. abstract def tryType[A](implicit arg0: reflect.macros.Universe.WeakTypeTag[A]): reflect.macros.Universe.Type

    Permalink
  10. abstract def tryyFailure[A](a: reflect.macros.Universe.Expr[Throwable])(implicit arg0: reflect.macros.Universe.WeakTypeTag[A]): reflect.macros.Universe.Expr[Tryy[A]]

    Permalink
  11. abstract def tryyGet[A](tryy: reflect.macros.Universe.Expr[Tryy[A]]): reflect.macros.Universe.Expr[A]

    Permalink
  12. abstract def tryyIsFailure[A](tryy: reflect.macros.Universe.Expr[Tryy[A]]): reflect.macros.Universe.Expr[Boolean]

    Permalink
  13. abstract def tryySuccess[A](a: reflect.macros.Universe.Expr[A])(implicit arg0: reflect.macros.Universe.WeakTypeTag[A]): reflect.macros.Universe.Expr[Tryy[A]]

    Permalink

Concrete 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. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def completeWithSuccess[A](prom: reflect.macros.Universe.Expr[Prom[A]], value: reflect.macros.Universe.Expr[A])(implicit arg0: reflect.macros.Universe.WeakTypeTag[A]): reflect.macros.Universe.Expr[Unit]

    Permalink
  7. def continueCompletedFutureOnSameThread: Boolean

    Permalink
  8. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def getCompleted[A](future: reflect.macros.Universe.Expr[Fut[A]])(implicit arg0: reflect.macros.Universe.WeakTypeTag[A]): reflect.macros.Universe.Expr[Tryy[A]]

    Permalink

    Return null if this future is not yet completed, or Tryy[A] with the completed result otherwise

  13. def hashCode(): Int

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  18. def postAnfTransform(tree: reflect.macros.Universe.Block): reflect.macros.Universe.Block

    Permalink

    A hook for custom macros to transform the tree post-ANF transform

  19. def spawn(tree: reflect.macros.Universe.Tree, execContext: reflect.macros.Universe.Tree): reflect.macros.Universe.Tree

    Permalink
  20. def stateMachineClassParents: List[reflect.macros.Universe.Type]

    Permalink
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped