python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Is it necessary to stop/close SignalR stream with CancelationToken.Cancel()?
I have concern about how to properly stop/close SignalR stream. It is server-to-client streaming.
I'll try to explain the context of streaming. We have web service that connects to IP camera and opens...

Genato
Votes: 0
Answers: 1
Pagination on React search bar
EDIT: I got something to work and updated my code. Unfortunately its only partialy working. What am I doing wrong?
Also, I would like to just display current and last page - any good suggestions to ho...
HRS
Votes: 0
Answers: 1
How to mock or fake a CancellationToken?
I have the following method which I would like to unit test:
public async IAsyncEnumerable<string> ReadFileAsStream([EnumeratorCancellation] CancellationToken cancellationToken = default)
...
MiBuena
Votes: 0
Answers: 1
'System.Threading.CancellationToken'...is not marked as serializable
I am using Accord.NET to create and save a StepwiseLogisticRegressionModel. When I try to serialize and save the model, I am getting the following error:
Type 'System.Threading.CancellationToken' in ...
Mike
Votes: 0
Answers: 1