Future::unit()
authorHans Fugal <fugalh@fb.com>
Thu, 11 Jun 2015 20:28:57 +0000 (13:28 -0700)
committerSara Golemon <sgolemon@fb.com>
Thu, 11 Jun 2015 21:49:22 +0000 (14:49 -0700)
commitcc7a5803e4dc766f182f9bb7f507a04b167c131f
tree09b07cf36d60d6451407f6c8d1159a0b43f5bd94
parent42111d8713cb17e524e097a49f93c9084c084a45
Future::unit()

Summary: Discard a result but propagate an exception. cf https://www.facebook.com/groups/715931878455430/permalink/879624552086161/

Reviewed By: @​sammerat

Differential Revision: D2144567
folly/futures/Future-inl.h
folly/futures/Future.h
folly/futures/test/UnitTest.cpp