LinkedTokenSourceFactory
Represents helper methods for working with linked cancellation tokens.
public static LinkedCancellationTokenSource LinkTo(this ref CancellationToken first, CancellationToken second)
Links two cancellation tokens.
Links cancellation token with the timeout.
public static CancellationTokenSource LinkTo(this ref CancellationToken first, TimeSpan timeout, CancellationToken second)
Links two cancellation tokens with the given timeout.