object Promise
- Source
- __.scala
class java.lang.Object
trait scala.Matchable
class Any
Member
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
Promise control provides the ability to "complete" the controlled promise instance.
For each promise, there is a control, which is not part of promise API, it is a behind the scenes handle for code fulfilling the promise.
- Source
- Control.scala
Promise control provides the ability to "complete" the controlled promise instance.
For each promise, there is a control, which is not part of promise API, it is a behind the scenes handle for code fulfilling the promise.
- Source
- Control.scala