use wait()/get() instead of while(!f.isReady()) { ... }
authorJames Sedgwick <jsedgwick@fb.com>
Wed, 21 Jan 2015 19:41:50 +0000 (11:41 -0800)
committerwoo <woo@fb.com>
Mon, 2 Feb 2015 21:12:13 +0000 (13:12 -0800)
commitff1b7be8909060849721a42b1851099e80cd3d40
tree556808c1124a5cfb0e6d95b73e50a7d913dc66c7
parent991a1d5e52b35c1ced25818ae7681f0cb69c76ba
use wait()/get() instead of while(!f.isReady()) { ... }

Summary: as above. nice redness. couple of comments inline though

Test Plan: contbuild

Reviewed By: hans@fb.com

Subscribers: trunkagent, zeus-diffs@, cold-storage-diffs@, targeting-diff-backend@, apollo-diffs@, micha, folly-diffs@, jsedgwick

FB internal diff: D1787776

Tasks: 5940008

Signature: t1:1787776:1421776843:13772348538a0af27ceb5a363b818ece0cdfffc6
folly/futures/README.md