示例#1
0
 public static CancellationToken Combine(this CancellationToken token, params CancellationToken[] other)
 {
     return(CancellationTokenSource.CreateLinkedTokenSource(token.AsEnumerable().And(other).ToArray()).Token);
 }