• Lewis Baker's avatar
    Add folly::coro::blockingWait(awaitable) · a5f943d2
    Lewis Baker authored
    Summary:
    Add a generic function for performing a blocking-wait on any awaitable object.
    
    This obsoletes the use of the `.wait()` and `.get()` methods on  `folly::coro::Future<T>` and so these methods have now been removed.
    
    Reviewed By: andriigrynenko
    
    Differential Revision: D9384837
    
    fbshipit-source-id: bcff5b348c024a3fc9337c67d996c447e0723fcc
    a5f943d2
BlockingWait.h 8.27 KB