Packages

final class Ops[A, X <: PromiseUnlessShutdown[A]] extends AnyVal

Extension methods for PromiseUnlessShutdown

X

Type parameter to make the type of self visible to the Scala compiler when it is more specific than PromiseUnlessShutdown[A], e.g., for methods returning self.type.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Ops
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Ops(self: X)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def completeWithUS(other: FutureUnlessShutdown[A]): X

    Analog to scala.concurrent.Promise.completeWith

  6. def futureUS: FutureUnlessShutdown[A]

    Analog to scala.concurrent.Promise.future

  7. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  8. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  9. def outcome(value: A): Unit

    Tries to complete the promise with value as a UnlessShutdown.Outcome.

    Tries to complete the promise with value as a UnlessShutdown.Outcome. Does nothing if the promise has already been completed.

  10. val self: X
  11. def shutdown(): Unit

    Tries to complete the promise with UnlessShutdown.AbortedDueToShutdown.

    Tries to complete the promise with UnlessShutdown.AbortedDueToShutdown. Does nothing if the promise has already been completed.

  12. def toString(): String
    Definition Classes
    Any
  13. def unwrap: Promise[UnlessShutdown[A]]

    Open the type abstraction

Inherited from AnyVal

Inherited from Any

Ungrouped