Commit 62f1d6f
committed
Update PemStream.InnerReadAsync() cancellation
.NET 7 and up have native cancellation support in StreamReader.ReadLineAsync(),
while .NET 6 has the Task.WaitAsync(CancellationToken) api we can alternatively
use (and we don't support cancellation for lower versions).1 parent ee562b8 commit 62f1d6f
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
69 | 71 | | |
70 | 72 | | |
71 | 73 | | |
| |||
0 commit comments