Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/heft > CancellationTokenSource > cancel

CancellationTokenSource.cancel() method

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Cancel the token provided by the source.

Signature:

cancel(): void;

Returns:

void