Assertion: promise's value | /r/HasProperty | set
Facets:
value: by using a
type: MANNER
value: directly
type: MANNER
Source sentences:
text: The value is set directly by using a std::promise , or set to the result of a function call using std::packaged_task or std::async .
text: The value is set directly by using a , or set to the result of a function call using or .
text: The Java 8 CompletableFuture and the Guava SettableFuture can be thought of as promises, because their value can be set ("completed"), but they also implement the Future interface, therefore there is no difference for the client.