akka.dataflow

DataflowPromise

Related Doc: package dataflow

implicit final class DataflowPromise[T] extends AnyVal

Source
package.scala
Linear Supertypes
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DataflowPromise
  2. AnyVal
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DataflowPromise(promise: Promise[T])

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  2. final def ##(): Int

    Definition Classes
    Any
  3. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from DataflowPromise[T] to any2stringadd[DataflowPromise[T]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (DataflowPromise[T], B)

    Implicit information
    This member is added by an implicit conversion from DataflowPromise[T] to ArrowAssoc[DataflowPromise[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def <<(other: Promise[T])(implicit ec: ExecutionContext): scala.concurrent.Future[T] @scala.util.continuations.cpsParam[scala.concurrent.Future[Any],scala.concurrent.Future[Any]]

    Completes this Promise with the value of the specified Promise when/if it completes.

    Completes this Promise with the value of the specified Promise when/if it completes.

    other

    The Promise whose value will be transferred to this Promise upon completion

    ec

    An ExecutionContext which will be used to execute callbacks registered in this method

    returns

    A Future representing the result of this operation

  6. final def <<(other: Future[T])(implicit ec: ExecutionContext): scala.concurrent.Future[T] @scala.util.continuations.cpsParam[scala.concurrent.Future[Any],scala.concurrent.Future[Any]]

    Completes this Promise with the value of the specified Future when/if it completes.

    Completes this Promise with the value of the specified Future when/if it completes.

    other

    The Future whose value will be transferred to this Promise upon completion

    ec

    An ExecutionContext which will be used to execute callbacks registered in this method

    returns

    A Future representing the result of this operation

  7. final def <<(value: T): scala.concurrent.Future[T] @scala.util.continuations.cpsParam[scala.concurrent.Future[Any],scala.concurrent.Future[Any]]

    Completes the Promise with the specified value or throws an exception if already completed.

    Completes the Promise with the specified value or throws an exception if already completed. See Promise.success(value) for semantics.

    value

    The value which denotes the successful value of the Promise

    returns

    This Promise's Future

  8. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  9. final def apply()(implicit ec: ExecutionContext): T @scala.util.continuations.cpsParam[scala.concurrent.Future[Any],scala.concurrent.Future[Any]]

    For use only within a flow block or another compatible Delimited Continuations reset block.

    For use only within a flow block or another compatible Delimited Continuations reset block.

    Returns the result of this Promise without blocking, by suspending execution and storing it as a continuation until the result is available.

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def ensuring(cond: (DataflowPromise[T]) ⇒ Boolean, msg: ⇒ Any): DataflowPromise[T]

    Implicit information
    This member is added by an implicit conversion from DataflowPromise[T] to Ensuring[DataflowPromise[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (DataflowPromise[T]) ⇒ Boolean): DataflowPromise[T]

    Implicit information
    This member is added by an implicit conversion from DataflowPromise[T] to Ensuring[DataflowPromise[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): DataflowPromise[T]

    Implicit information
    This member is added by an implicit conversion from DataflowPromise[T] to Ensuring[DataflowPromise[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): DataflowPromise[T]

    Implicit information
    This member is added by an implicit conversion from DataflowPromise[T] to Ensuring[DataflowPromise[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from DataflowPromise[T] to StringFormat[DataflowPromise[T]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  16. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. val promise: Promise[T]

  19. def toString(): String

    Definition Classes
    Any
  20. def [B](y: B): (DataflowPromise[T], B)

    Implicit information
    This member is added by an implicit conversion from DataflowPromise[T] to ArrowAssoc[DataflowPromise[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion any2stringadd from DataflowPromise[T] to any2stringadd[DataflowPromise[T]]

Inherited by implicit conversion StringFormat from DataflowPromise[T] to StringFormat[DataflowPromise[T]]

Inherited by implicit conversion Ensuring from DataflowPromise[T] to Ensuring[DataflowPromise[T]]

Inherited by implicit conversion ArrowAssoc from DataflowPromise[T] to ArrowAssoc[DataflowPromise[T]]

Ungrouped