• Lee Howes's avatar
    Remove Promise::getFuture from Future-inl.h 1/4 - simple cases · 8e00d117
    Lee Howes authored
    Summary:
    Removing calls to folly::Promise::getFuture from Future-inl.h's simpler cases. Replacing with getSemiFuture.
    
    In the case of the collect variants I continue to return a Future, completing inline, until those functions are modified to return SemiFuture.
    
    Reviewed By: yfeldblum
    
    Differential Revision: D7103938
    
    fbshipit-source-id: 3737887a934cd0fe8f7c1511ae2ba252ea047a49
    8e00d117
Future-inl.h 52.4 KB