StackOverflow Questions for Tag: cancellationtokensource

michelson
michelson

Reputation: 750

SerialPort BaseStream ReadAsync - CancellationToken never cancelled?

Score: 3

Views: 4728

Answers: 2

Read More
Thuận Vũ
Thuận Vũ

Reputation: 43

How to call api vs parameters cancellationToken xamarin forms

Score: 0

Views: 174

Answers: 0

Read More
liv2hak
liv2hak

Reputation: 15010

Understanding cancellation tokens in C#

Score: 0

Views: 1227

Answers: 1

Read More
Evorlor
Evorlor

Reputation: 7568

How do I cancel a Task that I didn't create?

Score: 0

Views: 130

Answers: 0

Read More
Travis Parks
Travis Parks

Reputation: 8695

Simulating Cancellation Tokens in Python Threading

Score: 2

Views: 4829

Answers: 3

Read More
Stav Alfi
Stav Alfi

Reputation: 13953

How does the Parallel.ForEach/For call the BlockingCollection.Take? with or without CancellationToken?

Score: 2

Views: 662

Answers: 1

Read More
Saturn
Saturn

Reputation: 18159

On which thread is a CancellationToken's registered callback invoked when it is requested from another thread?

Score: 0

Views: 80

Answers: 1

Read More
pilsdumps
pilsdumps

Reputation: 617

Cancelling long run api request

Score: 1

Views: 199

Answers: 1

Read More
Andrey Tarantsov
Andrey Tarantsov

Reputation: 9073

Why CancellationToken is separate from CancellationTokenSource?

Score: 178

Views: 33123

Answers: 5

Read More
ca9163d9
ca9163d9

Reputation: 29227

Run periodic tasks using Rx.net: cancel and stop Observale.Interval stream after N seconds?

Score: 1

Views: 544

Answers: 2

Read More
Leonardo
Leonardo

Reputation: 11401

How to cancel a CancellationToken

Score: 114

Views: 87611

Answers: 5

Read More
Thimo Luijsterburg
Thimo Luijsterburg

Reputation: 75

How to dispose a LongRunningTask using cancellationTokens

Score: -1

Views: 264

Answers: 1

Read More
tananas
tananas

Reputation: 73

How to exit gracefully from a while loop when CancellationTokenSource.Cancel() is used

Score: 3

Views: 617

Answers: 2

Read More
Saturn
Saturn

Reputation: 18159

Is there a better way to cancel a token as soon as a predicate is fulfilled?

Score: 0

Views: 117

Answers: 1

Read More
WhyImUser_user3290746
WhyImUser_user3290746

Reputation: 81

Is there way to cancel or kill a task which waits for a response from a http client in c#?

Score: -1

Views: 497

Answers: 1

Read More
Vastar
Vastar

Reputation: 89

Managing/clearing up cancelled tasks

Score: 1

Views: 83

Answers: 0

Read More
user13251051
user13251051

Reputation:

CancellationTokenSource can just be cancelled instead of disposing?

Score: 1

Views: 32

Answers: 0

Read More
Idra
Idra

Reputation: 315

Understanding BackgroundService and CancellationToken

Score: 4

Views: 5488

Answers: 1

Read More
Retrocoder
Retrocoder

Reputation: 4723

Linking Cancellation Tokens

Score: 88

Views: 40203

Answers: 4

Read More
Daimonion
Daimonion

Reputation: 156

CancellationTokenSource with TimeSpan.From... or Constant time value?

Score: 1

Views: 733

Answers: 3

Read More
PreviousPage 2Next