Add TerminateCancellationToken utility
Summary: `getTerminateCancellationToken()` is the public API that can be used to get a cancellation token that'll be cancelled when any of the registered signal (SIGTERM or SIGINT) is received. Reviewed By: andriigrynenko Differential Revision: D29883069 fbshipit-source-id: 4270c42316b80afb2c75f54de7e720dcb7a083ca
Showing
Please register or sign in to comment