Scala Standard Library 2.13.15 - scala.concurrent.Promise (original) (raw)

trait Promise[T] extends AnyRef

Ordering

  1. Alphabetic
  2. By Inheritance

Inherited

  1. Promise
  2. AnyRef
  3. Any

Implicitly

  1. by any2stringadd

  2. by StringFormat

  3. by Ensuring

  4. by ArrowAssoc

  5. Hide All

  6. Show All

Visibility

  1. Public
  2. Protected

Abstract Value Members

  1. abstract def future: Future[T]
  2. abstract def isCompleted: Boolean
  3. abstract def tryComplete(result: Try[T]): Boolean

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
  2. final def ##: Int
  3. def +(other: String): String
  4. def ->[B](y: B): (Promise[T], B)
  5. final def ==(arg0: Any): Boolean
  6. final def asInstanceOf[T0]: T0
  7. def clone(): AnyRef
  8. def complete(result: Try[T]): Promise.this.type
  9. def completeWith(other: Future[T]): Promise.this.type
  10. def ensuring(cond: (Promise[T]) => Boolean, msg: => Any): Promise[T]
  11. def ensuring(cond: (Promise[T]) => Boolean): Promise[T]
  12. def ensuring(cond: Boolean, msg: => Any): Promise[T]
  13. def ensuring(cond: Boolean): Promise[T]
  14. final def eq(arg0: AnyRef): Boolean
  15. def equals(arg0: AnyRef): Boolean
  16. def failure(cause: Throwable): Promise.this.type
  17. def finalize(): Unit
  18. final def getClass(): Class[_ <: AnyRef]
  19. def hashCode(): Int
  20. final def isInstanceOf[T0]: Boolean
  21. final def ne(arg0: AnyRef): Boolean
  22. final def notify(): Unit
  23. final def notifyAll(): Unit
  24. def success(value: T): Promise.this.type
  25. final def synchronized[T0](arg0: => T0): T0
  26. def toString(): String
  27. def tryFailure(cause: Throwable): Boolean
  28. def trySuccess(value: T): Boolean
  29. final def wait(): Unit
  30. final def wait(arg0: Long, arg1: Int): Unit
  31. final def wait(arg0: Long): Unit

Ungrouped