The CancellationToken is a control structure that allows long-running tasks to be cancelled Cancellation is cooperative, meaning the task must check the token and respond to cancellation requests
Readonly
Whether the token has been cancelled
Signal that can be used with fetch and other abortable APIs
Register a callback to be called when cancellation occurs
The CancellationToken is a control structure that allows long-running tasks to be cancelled Cancellation is cooperative, meaning the task must check the token and respond to cancellation requests