- Cancel
bool Cancel(bool mayInterruptIfRunning)
Undocumented in source. Be warned that the author may not have intended to support it.
- Failed
void Failed(Exception cause)
TODO:
1) keep this operation atomic
2) return a flag to indicate whether this option is successful.
- 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.
- 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
void Succeeded()
TODO:
1) keep this operation atomic
2) return a flag to indicate whether this option is successful.
- Succeeded
void Succeeded(T result)
TODO:
1) keep this operation atomic
2) return a flag to indicate whether this option is successful.
- id
string id()
Undocumented in source. Be warned that the author may not have intended to support it.
- id
void id(string id)
Undocumented in source. Be warned that the author may not have intended to support it.
- 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.