Scala Standard Library 2.12.18 - scala.concurrent.Promise (original) (raw)
trait Promise[T] extends AnyRef
Ordering
- Alphabetic
- By Inheritance
Inherited
- Promise
- AnyRef
- Any
Implicitly
by any2stringadd
by StringFormat
by Ensuring
by ArrowAssoc
Hide All
Show All
Abstract Value Members
- abstract def future: Future[T]
- abstract def isCompleted: Boolean
- abstract def tryComplete(result: Try[T]): Boolean
Concrete Value Members
- final def !=(arg0: Any): Boolean
- final def ##(): Int
- def +(other: String): String
- def ->[B](y: B): (Promise[T], B)
- final def ==(arg0: Any): Boolean
- final def asInstanceOf[T0]: T0
- def clone(): AnyRef
- def complete(result: Try[T]): Promise.this.type
- final def completeWith(other: Future[T]): Promise.this.type
- def ensuring(cond: (Promise[T]) ⇒ Boolean, msg: ⇒ Any): Promise[T]
- def ensuring(cond: (Promise[T]) ⇒ Boolean): Promise[T]
- def ensuring(cond: Boolean, msg: ⇒ Any): Promise[T]
- def ensuring(cond: Boolean): Promise[T]
- final def eq(arg0: AnyRef): Boolean
- def equals(arg0: Any): Boolean
- def failure(cause: Throwable): Promise.this.type
- 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 success(value: T): Promise.this.type
- final def synchronized[T0](arg0: ⇒ T0): T0
- def toString(): String
- final def tryCompleteWith(other: Future[T]): Promise.this.type
- def tryFailure(cause: Throwable): Boolean
- def trySuccess(value: T): Boolean
- final def wait(): Unit
- final def wait(arg0: Long, arg1: Int): Unit
- final def wait(arg0: Long): Unit
- def →[B](y: B): (Promise[T], B)