createLinkedTokenSource static method

CancellationTokenSource createLinkedTokenSource(
  1. List<CancellationToken> tokens
)

Creates a CancellationTokenSource that will be in the canceled state when any of the source tokens are in the canceled state.

Implementation

static CancellationTokenSource createLinkedTokenSource(
        List<CancellationToken> tokens) =>
    LinkedNCancellationTokenSource(tokens);