Make consistent set of get and getTry methods on SemiFuture.
authorLee Howes <lwh@fb.com>
Wed, 3 Jan 2018 04:29:49 +0000 (20:29 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 3 Jan 2018 04:35:38 +0000 (20:35 -0800)
commitff18deaf720fbe59551a7ff275b09003a61c4351
tree5229172419eedc20d48a09c3068bc15dd3ca4eb2
parent661c75b6e80e470548de41c4ab4a289a8d0711a8
Make consistent set of get and getTry methods on SemiFuture.

Summary: Complete set of get and getVia methods including addition of a result operation on FutureBase that provides functionality of the old getTry on Future by returning a Try by reference.

Reviewed By: yfeldblum

Differential Revision: D6640056

fbshipit-source-id: 3ac01f7bc4b128e641f08d9a99280a18ffce82f9
folly/futures/Future-inl.h
folly/futures/Future.h
folly/futures/test/SemiFutureTest.cpp