Add ability to construct an invalid CancellationSource
Summary: Adds static factory `CancellationSource::invalid()`. This can be used to construct a `CancellationSource` that can't be cancelled but that doesn't perform any heap-allocations. Reviewed By: kirkshoop Differential Revision: D16816764 fbshipit-source-id: bb87273903a6a8d245d207f4e6bda94e5c3d3dad
Showing
Please register or sign in to comment