Add SharedPromise<T>::isFulfilled
authorElliott Clark <elliott@fb.com>
Thu, 10 Sep 2015 07:31:47 +0000 (00:31 -0700)
committerfacebook-github-bot-4 <folly-bot@fb.com>
Thu, 10 Sep 2015 08:20:17 +0000 (01:20 -0700)
commitfc0470a93d86dec8fe9fa3db7bc05672cc8979b0
treea37b08182fcceb341a44e514e1c10a64ef09c456
parent9f9e6d9638c6227f4f5f1b0c35fa3122eec651a4
Add SharedPromise<T>::isFulfilled

Summary: Promise<T> has isFulFilled. This patch adds the corresponding functionality to shared promise.

Reviewed By: @jsedgwick

Differential Revision: D2417631
folly/futures/SharedPromise-inl.h
folly/futures/SharedPromise.h
folly/futures/test/SharedPromiseTest.cpp