(Wangle) window
authorHannes Roth <hannesr@fb.com>
Thu, 14 May 2015 18:50:06 +0000 (11:50 -0700)
committerViswanath Sivakumar <viswanath@fb.com>
Wed, 20 May 2015 17:57:08 +0000 (10:57 -0700)
commitad0c254dbdbac5b166c1b4e9e3386ba487842630
treee6eb960e7c679514978742618fe41d01ff53ea5b
parentc8250894a847994e9f76960564a6a56d68b85f5c
(Wangle) window

Summary: `window` creates up to `n` Futures at a time and only starts new ones when previous ones complete. A sliding window.

Test Plan: Run all the tests.

Reviewed By: hans@fb.com

Subscribers: bmatheny, henryf, scottstraw, juliafu, folly-diffs@, jsedgwick, yfeldblum, chalfant

FB internal diff: D2015310

Signature: t1:2015310:1431557556:1017006cc9c9c2562ebe2c3dabfc4dbf316ff408
folly/futures/Future-inl.h
folly/futures/helpers.h
folly/futures/test/FutureTest.cpp