From: James Sedgwick Date: Tue, 9 Jun 2015 20:27:00 +0000 (-0700) Subject: fix typo in SharedPromise comment X-Git-Tag: v0.45.0~1 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=dbd0777d28fd6b0ef26d4e1c206ae5e3d4a2f67f;p=folly.git fix typo in SharedPromise comment Summary: ^ Test Plan: OK Reviewed By: yfeldblum@fb.com Subscribers: folly-diffs@, jsedgwick, yfeldblum, chalfant FB internal diff: D2140212 Signature: t1:2140212:1433877717:86b7bf372091b455cdb25a377451e1ed4e21f50d --- diff --git a/folly/futures/SharedPromise.h b/folly/futures/SharedPromise.h index c681a3f0..0c8fcd9a 100644 --- a/folly/futures/SharedPromise.h +++ b/folly/futures/SharedPromise.h @@ -45,8 +45,10 @@ public: SharedPromise(SharedPromise&&) noexcept; SharedPromise& operator=(SharedPromise&&) noexcept; - /** Return a Future tied to the shared core state. This can be called only - once, thereafter Future already retrieved exception will be raised. */ + /** + * Return a Future tied to the shared core state. Unlike Promise::getFuture, + * this can be called an unlimited number of times per SharedPromise. + */ Future getFuture(); /** Return the number of Futures associated with this SharedPromise */