Move retrying method to separate header in folly/futures
authorMarc Celani <marccelani@fb.com>
Sun, 15 Oct 2017 21:24:44 +0000 (14:24 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sun, 15 Oct 2017 21:36:03 +0000 (14:36 -0700)
commit24a9e5fd0aa688ac3601ebf563209a77c2d8e913
tree75abe098855e8b6f057da98184d810422f6fa049
parent371636e9c158a7ec8e95cd3d88129083718d97b6
Move retrying method to separate header in folly/futures

Summary: folly/futures depends on folly/Random.h, which in turn depends on <random>, which is a fairly large header. Most users of folly::futures do not use retrying, so separate it into a separate header.

Reviewed By: yfeldblum

Differential Revision: D6028468

fbshipit-source-id: d8155fe2ddff1a65c265a18f040ee6f1be3f3f0a
folly/Makefile.am
folly/futures/Future-inl.h
folly/futures/Retrying.h [new file with mode: 0644]
folly/futures/helpers.h
folly/futures/test/RetryingTest.cpp