• Philip Pronin's avatar
    return range from AsyncIO::cancel(), fix test · 7728c4b3
    Philip Pronin authored
    Summary:
    Return not just number of cancelled ops, but all of them as well.
    Test was incorrectly assuming `wait(1)` will return exactly one operation, fix
    that as well.
    
    Reviewed By: ot
    
    Differential Revision: D5054684
    
    fbshipit-source-id: 1c53c3f7ba855d1fcfeac8b1b27f90f0872d2c21
    7728c4b3
AsyncIO.cpp 10.6 KB