Add getSemiFuture to folly::Promise
authorLee Howes <lwh@fb.com>
Sat, 23 Dec 2017 03:29:14 +0000 (19:29 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sat, 23 Dec 2017 03:36:47 +0000 (19:36 -0800)
commit48b9743d001e6c3dd3e66ef1dac702c9794833d7
tree50356e4c786cd1767e07c7138b9ad69253f1d6b0
parente951fd70de9f2348962f2c512721d8eae89a77d2
Add getSemiFuture to folly::Promise

Summary: Also deprecates folly::getFuture function.

Reviewed By: yfeldblum

Differential Revision: D6594299

fbshipit-source-id: 67435f35dca660da049cd8c505ee9a21424c0d2b
folly/futures/Future.h
folly/futures/Promise-inl.h
folly/futures/Promise.h
folly/futures/test/PromiseTest.cpp
folly/futures/test/SemiFutureTest.cpp