Future::ensure
authorHans Fugal <fugalh@fb.com>
Wed, 25 Feb 2015 17:54:53 +0000 (09:54 -0800)
committerAlecs King <int@fb.com>
Tue, 3 Mar 2015 03:29:47 +0000 (19:29 -0800)
commit0f6e30432ea98c2ef4542499a8cfe6181d1ace24
treedc868d5e1218c623d9ef88c9fc015a5efa856346
parente58f1ced4f8d7a078ae1429ea4bf025898126909
Future::ensure

Summary: Unconditionally execute the action, passthrough semantics.

Test Plan: new unit test

Reviewed By: bmatheny@fb.com

Subscribers: trunkagent, exa, folly-diffs@, yfeldblum, jsedgwick

FB internal diff: D1868837

Tasks: 6166860

Signature: t1:1868837:1424820181:0e83f54b59d7091dac60ab65feb387992e8ae89c
folly/futures/Future-inl.h
folly/futures/Future.h
folly/futures/test/FutureTest.cpp