(easy) remove cruft comment
authorHans Fugal <fugalh@fb.com>
Thu, 25 Jun 2015 19:17:51 +0000 (12:17 -0700)
committerSara Golemon <sgolemon@fb.com>
Fri, 26 Jun 2015 18:45:39 +0000 (11:45 -0700)
Summary: We have this now.

Reviewed By: @jsedgwick

Differential Revision: D2191642

folly/futures/Future.h

index 98e6eabb64e8efc73888cb02f17eb7eec955dd28..649cd66784c542273570bcde7cbd3806d994a4fc 100644 (file)
@@ -165,10 +165,6 @@ class Future {
     value(), which may rethrow if this has captured an exception. If func
     throws, the exception will be captured in the Future that is returned.
     */
     value(), which may rethrow if this has captured an exception. If func
     throws, the exception will be captured in the Future that is returned.
     */
-  /* TODO n3428 and other async frameworks have something like then(scheduler,
-     Future), we might want to support a similar API which could be
-     implemented a little more efficiently than
-     f.via(executor).then(callback) */
   template <typename F, typename R = detail::callableResult<T, F>>
   typename R::Return then(F func) {
     typedef typename R::Arg Arguments;
   template <typename F, typename R = detail::callableResult<T, F>>
   typename R::Return then(F func) {
     typedef typename R::Arg Arguments;