pass cancellation token to handler c$ code example
Example: c# create cancelation token
CancellationTokenSource source = new CancellationTokenSource();
CancellationToken token = source.Token;
CancellationTokenSource source = new CancellationTokenSource();
CancellationToken token = source.Token;