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.
The Promise whose value will be transferred to this Promise upon completion
An ExecutionContext which will be used to execute callbacks registered in this method
A Future representing the result of this operation
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.
The Future whose value will be transferred to this Promise upon completion
An ExecutionContext which will be used to execute callbacks registered in this method
A Future representing the result of this operation
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.
The value which denotes the successful value of the Promise
This Promise's Future
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.
(dataflowPromise: StringAdd).self
(dataflowPromise: StringFormat).self
(dataflowPromise: ArrowAssoc[DataflowPromise[T]]).x
(Since version 2.10.0) Use leftOfArrow
instead
(dataflowPromise: Ensuring[DataflowPromise[T]]).x
(Since version 2.10.0) Use resultOfEnsuring
instead