Base:
8 references to ReadAsync
Aspire.Hosting (2)
Dashboard\GrpcTerminalStream.cs (2)
109=> ReadAsync(buffer.AsMemory(offset, count), CancellationToken.None).AsTask().GetAwaiter().GetResult(); 115=> ReadAsync(buffer.AsMemory(offset, count), cancellationToken).AsTask();
Aspire.Hosting.Tests (6)
Dashboard\GrpcTerminalStreamTests.cs (6)
44Assert.Equal(2, await stream.ReadAsync(buffer)); 47Assert.Equal(2, await stream.ReadAsync(buffer)); 50Assert.Equal(1, await stream.ReadAsync(buffer)); 67Assert.Equal(1, await stream.ReadAsync(buffer)); 81Assert.Equal(0, await stream.ReadAsync(new byte[8])); 83Assert.Equal(0, await stream.ReadAsync(new byte[8]));