We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ce85f4 commit f190b25Copy full SHA for f190b25
Rx.NET/Documentation/IntroToRx/03_CreatingObservableSequences.md
@@ -461,7 +461,7 @@ IObservable<string> ReadFileLines(string path) =>
461
{
462
using (StreamReader reader = File.OpenText(path))
463
464
- while (cancellationToken.IsCancellationRequested)
+ while (!cancellationToken.IsCancellationRequested)
465
466
string? line = await reader.ReadLineAsync(cancellationToken).ConfigureAwait(false);
467
if (line is null)
0 commit comments