abstract
class
AsyncBase extends AnyRef
Instance Constructors
-
new
AsyncBase()
Type Members
-
Abstract Value Members
-
abstract
val
futureSystem: FS
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
asyncImpl[T](c: Context)(body: reflect.macros.whitebox.Context.Expr[T])(execContext: reflect.macros.whitebox.Context.Expr[FS.ExecContext])(implicit arg0: reflect.macros.whitebox.Context.WeakTypeTag[T]): reflect.macros.whitebox.Context.Expr[FS.Fut[T]]
-
def
await[T](awaitable: FS.Fut[T]): T
-
def
awaitMethod(u: Universe)(asyncMacroSymbol: reflect.api.Universe.Symbol): reflect.api.Universe.Symbol
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
nullOut(u: Universe)(name: reflect.api.Universe.Expr[String], v: reflect.api.Universe.Expr[Any]): reflect.api.Universe.Expr[Unit]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
A base class for the
async
macro. Subclasses must provide:- Concrete types for a given future system - Tree manipulations to create and complete the equivalent of Future and Promise in that system. - The
async
macro declaration itself, and a forwarder for the macro implementation. (The latter is temporarily needed to workaround bug SI-6650 in the macro system)The default implementation, scala.async.Async, binds the macro to
scala.concurrent._
.