Complete the promise with either an exception or a value.
Complete the promise with either an exception or a value.
Either the value or the exception to complete the promise with.
Try to complete the promise.
Try to complete the promise. This method will block if there is no space in the queue
If the promise has already been completed returns false
, or true
otherwise.
A type of mot.util.Promise that submits a function to an executor when the promise is completed.