TKMCancellationTokens

  • A cancellation token that will never be cancelled.

  • Creates a cancellation token that goes into cancelled state if at least one of the specified tokens goes into cancelled state.

  • Creates a cancellation token that goes into cancelled state when either the specified timeout period elapsed or the specified token goes into cancelled state, whatever happens first.

  • Creates a cancellation token that goes into cancelled state after the specified timeout period elapsed.