(Folly/Wangle) Later.then, Later.whenAllLater
authorHannes Roth <hannesr@fb.com>
Thu, 4 Sep 2014 16:17:56 +0000 (09:17 -0700)
committerSara Golemon <sgolemon@fb.com>
Tue, 9 Sep 2014 21:22:23 +0000 (14:22 -0700)
commit2bfde4cdaf98e1d638bc92e6e705a7590cd67386
tree822ab847ca612b13d1ff3b963eeaabb258445b3c
parent940aec84f3398307f36a4f1f66fca9b766353a51
(Folly/Wangle) Later.then, Later.whenAllLater

Summary:
Adding some basic functionality to `Later` to make it easier to chain
things.

Test Plan:
Added tests.

`fbconfig -r folly/wangle && fbmake runtests_{dbg,dbgo,opt}`
`fbconfig --clang -r folly/wangle && fbmake runtests_{dbg,dbgo,opt}`

Reviewed By: hans@fb.com

Subscribers: fugalh, njormrod

FB internal diff: D1527826

Tasks: 4993420
folly/wangle/Later-inl.h
folly/wangle/Later.h
folly/wangle/detail/State.h
folly/wangle/test/LaterTest.cpp