(wangle) Return a Later from Future::via
authorHans Fugal <fugalh@fb.com>
Thu, 26 Jun 2014 23:23:11 +0000 (16:23 -0700)
committerNicholas Ormrod <njormrod@fb.com>
Fri, 27 Jun 2014 22:07:55 +0000 (15:07 -0700)
commita181fa047a616222a4826516c00d7dc36d8a3deb
treeb09fcaa222f096c860d5717920b9964d4e2a171a
parentb27ed0f6ed5325abcc368f8433fc92fb3c9dc77a
(wangle) Return a Later from Future::via

Summary: Stroke of brilliance, Hannes.

Test Plan:
unit tests, including a new one
Looked through `fbgs 'via('` and all the extant `via`s are attached to `Later`s already so it shouldn't break anything. But check contbuild before commit.

Reviewed By: hannesr@fb.com

Subscribers: net-systems@, fugalh, exa

FB internal diff: D1406976

Tasks: 4480567
folly/wangle/Future-inl.h
folly/wangle/Future.h
folly/wangle/Later-inl.h
folly/wangle/Later.h
folly/wangle/README.md
folly/wangle/test/LaterTest.cpp