- cancel
bool cancel(bool mayInterruptIfRunning)
Undocumented in source. Be warned that the author may not have intended to support it.
- failed
bool failed(Throwable cause)
- get
T get()
Undocumented in source. Be warned that the author may not have intended to support it.
- get
T get(Duration timeout)
Undocumented in source. Be warned that the author may not have intended to support it.
- id
string id()
Undocumented in source. Be warned that the author may not have intended to support it.
- isCancelled
bool isCancelled()
Undocumented in source. Be warned that the author may not have intended to support it.
- isDone
bool isDone()
Undocumented in source. Be warned that the author may not have intended to support it.
- succeeded
bool succeeded()
TODO:
1) keep this operation atomic
2) return a flag to indicate whether this option is successful.
- succeeded
bool succeeded(T result)
- then
FuturePromise!R then(R delegate() handler)
Undocumented in source. Be warned that the author may not have intended to support it.
- then
FuturePromise!R then(R delegate(T) handler)
Undocumented in source. Be warned that the author may not have intended to support it.
- toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.