Future

Members

Functions

result
T result()
setResult
void setResult()

Mark the future done.

setResultUnlessCancelled
void setResultUnlessCancelled()

Helper setting the result only if the future was not cancelled.

Meta