opaque type Context
Promise context is an opaque type backed by scala.concurrent.ExecutionContext, esentially they are the same thing
Thus value promise uses Scala concurrency framework for execution
- Source
- Context.scala
Def
Execute runnable
Execute runnable
Runs scala.concurrent.ExecutionContext.execute
- Source
- Context.scala
Handle failure
Handle failure
Runs scala.concurrent.ExecutionContext.reportFailure
- Source
- Context.scala