io.vertx.lang.scala.VertxExecutionContext
See theVertxExecutionContext companion object
class VertxExecutionContext(val vertx: Vertx, val ctx: Context) extends ExecutionContext
A scala scala.concurrent.ExecutionContext binds scala.concurrent.Promise/scala.concurrent.Future to a thread. In the case of Vert.x we have to make sure that they execute on the right context. A context could be that of a worker or a standard verticle. This execution context implementation runs all Runnables on the associated io.vertx.core.Context.
Taken from the original Vert.x-impl https://github.com/vert-x/mod-lang-scala/blob/master/src/main/scala/org/vertx/scala/core/VertxExecutionContext.scala
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait ExecutionContextclass Objecttrait Matchableclass Any
Members list
In this article