Claim promise or throw exception, should only be called once
Claim promise or throw exception, should only be called once
Replay operations that produce the promised value
Replay operations that produce the promised value
Blocks until promised value is available, returns promised value or throws ExecutionException.
Blocks until promised value is available, returns promised value or throws ExecutionException.
Some value if promise is complete, otherwise None
Some value if promise is complete, otherwise None
Project promised value into an either containing the value or any exception thrown retrieving it.
Project promised value into an either containing the value or any
exception thrown retrieving it. Unwraps cause
of any top-level
ExecutionException
filter still used for certain cases in for expressions
filter still used for certain cases in for expressions
Bind this Promise to another Promise, or something which an implicit Guarantor may convert to a Promise.
Bind this Promise to another Promise, or something which an implicit Guarantor may convert to a Promise.
Project any resulting exception or result into a unified type X
Project any resulting exception or result into a unified type X
Cause some side effect with the promised value, if it is produced with no exception
Cause some side effect with the promised value, if it is produced with no exception
Create a left projection of a contained either
Create a left projection of a contained either
Map the promised value to something else
Map the promised value to something else
Project promised value into an Option containing the value if retrived with no exception
Project promised value into an Option containing the value if retrived with no exception
Internal cache of promised value or exception thrown
Internal cache of promised value or exception thrown
Create a right projection of a contained either
Create a right projection of a contained either
Facilitates projection over promised iterables
Facilitates projection over promised iterables
Support if clauses in for expressions.
Support if clauses in for expressions. A filtered promise behaves like an Option, in that apply() will throw a NoSuchElementException when the promise is empty.
Nested promise that delegates listening directly to this self