1 write to Token
Microsoft.AspNetCore.Components.Server (1)
Circuits\RemoteJSDataStream.cs (1)
265Token = token;
7 references to Token
Microsoft.AspNetCore.Components.Server (2)
Circuits\RemoteJSDataStream.cs (2)
185return await _pipeReaderStream.ReadAsync(buffer.AsMemory(offset, count), linkedCts.Token); 191return await _pipeReaderStream.ReadAsync(buffer, linkedCts.Token);
Microsoft.AspNetCore.Components.Server.Tests (5)
Circuits\RemoteJSDataStreamTest.cs (5)
302Assert.False(linkedCts.Token.IsCancellationRequested); 306Assert.True(linkedCts.Token.IsCancellationRequested); 317Assert.False(linkedCts.Token.IsCancellationRequested); 331Assert.False(linkedCts.Token.IsCancellationRequested); 342Assert.True(linkedCts.Token.IsCancellationRequested);