akka.dataflow

DataflowPromise

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. NotNull
  4. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  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 StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  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 any2ArrowAssoc 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 any2Ensuring 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 any2Ensuring 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 any2Ensuring 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 any2Ensuring 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 performed by method any2stringfmt 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 any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from DataflowPromise[T] to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (dataflowPromise: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from DataflowPromise[T] to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (dataflowPromise: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: DataflowPromise[T]

    Implicit information
    This member is added by an implicit conversion from DataflowPromise[T] to ArrowAssoc[DataflowPromise[T]] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (dataflowPromise: ArrowAssoc[DataflowPromise[T]]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: DataflowPromise[T]

    Implicit information
    This member is added by an implicit conversion from DataflowPromise[T] to Ensuring[DataflowPromise[T]] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (dataflowPromise: Ensuring[DataflowPromise[T]]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from AnyVal

Inherited from NotNull

Inherited from Any

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

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

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

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

Ungrouped