Future::within
authorHans Fugal <fugalh@fb.com>
Fri, 2 Jan 2015 22:36:42 +0000 (14:36 -0800)
committerViswanath Sivakumar <viswanath@fb.com>
Tue, 13 Jan 2015 19:01:03 +0000 (11:01 -0800)
commitf8f6e199e97aa224fe6e4916fe3385cccd67fb8e
tree2a81a2cedc3bc1c02c4b3bc529bb0006d30630fe
parent45bf87b32f76d8f8c1296b3086bfa3dfa60991bd
Future::within

Summary: For when you have a future that you want to complete within a duration, else raise a `TimedOut` exception.

Test Plan: new unit tests

Reviewed By: jsedgwick@fb.com

Subscribers: trunkagent, fugalh, exa, folly-diffs@

FB internal diff: D1756580

Tasks: 4548494

Signature: t1:1756580:1420215704:862f68816fc3a9d05a77077c439bec002aa29cf3
folly/wangle/futures/Future-inl.h
folly/wangle/futures/Future.h
folly/wangle/futures/test/TimekeeperTest.cpp