• Lee Howes's avatar
    Support inline defer 1/n - Add and use r-value add on KeepAlive · b619a10f
    Lee Howes authored
    Summary:
    Allows adding directly to a KeepAlive if the KeepAlive is consumed in the process.
    
    This allows simultaneous consumption and propagation of the KeepAlive into the callback, propagating information about the executor running the callback without the cost of reference counting the KeepAlive.
    
    Reviewed By: andriigrynenko
    
    Differential Revision: D15836528
    
    fbshipit-source-id: 8f9e6f6ec47ad294391741d25fce68a85a429919
    b619a10f
Core.h 26.2 KB