• Kenton Varda's avatar
    Implement 'Canceler' for managing side-band promise cancelation. · 0df23c4f
    Kenton Varda authored
    This is necessary when someone other than the promise owner might need to destroy the state a promise is operating on. It comes up when implementing pumpTo() for userland pipes -- cancelling the pump needs to cancel any writes currently passing through the pipe.
    0df23c4f
async-test.c++ 19.3 KB