Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/heft > CancellationTokenSource > (constructor)

CancellationTokenSource.(constructor)

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.

Constructs a new instance of the CancellationTokenSource class

Signature:

constructor(options?: ICancellationTokenSourceOptions);

Parameters

ParameterTypeDescription
optionsICancellationTokenSourceOptions(Optional)