object Macros
Provides implementations for macros
Subscribe
val session: Future[Session] = .... session.flatMap { implicit s => subscribe("mytopic", (name: String, age: Int) => { println(s"$name is $age years old") }) }
Register
val session: Future[Session] = .... session.flatMap { implicit s => register("myprocedure", (name: String, age: Int) => { name.length + age }) }
- Alphabetic
- By Inheritance
- Macros
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- def register0_impl[R](c: Context)(procedure: scala.reflect.macros.blackbox.Context.Expr[String], lambda: scala.reflect.macros.blackbox.Context.Expr[() ⇒ R])(implicit arg0: scala.reflect.macros.blackbox.Context.WeakTypeTag[R]): scala.reflect.macros.blackbox.Context.Expr[Future[Registration]]
- def register1_impl[T1, R](c: Context)(procedure: scala.reflect.macros.blackbox.Context.Expr[String], lambda: scala.reflect.macros.blackbox.Context.Expr[(T1) ⇒ R])(implicit arg0: scala.reflect.macros.blackbox.Context.WeakTypeTag[T1], arg1: scala.reflect.macros.blackbox.Context.WeakTypeTag[R]): scala.reflect.macros.blackbox.Context.Expr[Future[Registration]]
- def register2_impl[T1, T2, R](c: Context)(procedure: scala.reflect.macros.blackbox.Context.Expr[String], lambda: scala.reflect.macros.blackbox.Context.Expr[(T1, T2) ⇒ R])(implicit arg0: scala.reflect.macros.blackbox.Context.WeakTypeTag[T1], arg1: scala.reflect.macros.blackbox.Context.WeakTypeTag[T2], arg2: scala.reflect.macros.blackbox.Context.WeakTypeTag[R]): scala.reflect.macros.blackbox.Context.Expr[Future[Registration]]
- def register3_impl[T1, T2, T3, R](c: Context)(procedure: scala.reflect.macros.blackbox.Context.Expr[String], lambda: scala.reflect.macros.blackbox.Context.Expr[(T1, T2, T3) ⇒ R])(implicit arg0: scala.reflect.macros.blackbox.Context.WeakTypeTag[T1], arg1: scala.reflect.macros.blackbox.Context.WeakTypeTag[T2], arg2: scala.reflect.macros.blackbox.Context.WeakTypeTag[T3], arg3: scala.reflect.macros.blackbox.Context.WeakTypeTag[R]): scala.reflect.macros.blackbox.Context.Expr[Future[Registration]]
- def register4_impl[T1, T2, T3, T4, R](c: Context)(procedure: scala.reflect.macros.blackbox.Context.Expr[String], lambda: scala.reflect.macros.blackbox.Context.Expr[(T1, T2, T3, T4) ⇒ R])(implicit arg0: scala.reflect.macros.blackbox.Context.WeakTypeTag[T1], arg1: scala.reflect.macros.blackbox.Context.WeakTypeTag[T2], arg2: scala.reflect.macros.blackbox.Context.WeakTypeTag[T3], arg3: scala.reflect.macros.blackbox.Context.WeakTypeTag[T4], arg4: scala.reflect.macros.blackbox.Context.WeakTypeTag[R]): scala.reflect.macros.blackbox.Context.Expr[Future[Registration]]
- def subscribe0_impl(c: Context)(topic: scala.reflect.macros.blackbox.Context.Expr[String], lambda: scala.reflect.macros.blackbox.Context.Expr[() ⇒ Unit]): scala.reflect.macros.blackbox.Context.Expr[Future[Subscription]]
- def subscribe1_impl[T](c: Context)(topic: scala.reflect.macros.blackbox.Context.Expr[String], lambda: scala.reflect.macros.blackbox.Context.Expr[(T) ⇒ Unit])(implicit arg0: scala.reflect.macros.blackbox.Context.WeakTypeTag[T]): scala.reflect.macros.blackbox.Context.Expr[Future[Subscription]]
- def subscribe2_impl[T1, T2](c: Context)(topic: scala.reflect.macros.blackbox.Context.Expr[String], lambda: scala.reflect.macros.blackbox.Context.Expr[(T1, T2) ⇒ Unit])(implicit arg0: scala.reflect.macros.blackbox.Context.WeakTypeTag[T1], arg1: scala.reflect.macros.blackbox.Context.WeakTypeTag[T2]): scala.reflect.macros.blackbox.Context.Expr[Future[Subscription]]
- def subscribe3_impl[T1, T2, T3](c: Context)(topic: scala.reflect.macros.blackbox.Context.Expr[String], lambda: scala.reflect.macros.blackbox.Context.Expr[(T1, T2, T3) ⇒ Unit])(implicit arg0: scala.reflect.macros.blackbox.Context.WeakTypeTag[T1], arg1: scala.reflect.macros.blackbox.Context.WeakTypeTag[T2], arg2: scala.reflect.macros.blackbox.Context.WeakTypeTag[T3]): scala.reflect.macros.blackbox.Context.Expr[Future[Subscription]]
- def subscribe4_impl[T1, T2, T3, T4](c: Context)(topic: scala.reflect.macros.blackbox.Context.Expr[String], lambda: scala.reflect.macros.blackbox.Context.Expr[(T1, T2, T3, T4) ⇒ Unit])(implicit arg0: scala.reflect.macros.blackbox.Context.WeakTypeTag[T1], arg1: scala.reflect.macros.blackbox.Context.WeakTypeTag[T2], arg2: scala.reflect.macros.blackbox.Context.WeakTypeTag[T3], arg3: scala.reflect.macros.blackbox.Context.WeakTypeTag[T4]): scala.reflect.macros.blackbox.Context.Expr[Future[Subscription]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )