< Summary - AsyncResponse (Release / net8.0+net10.0 / unit+integration)

Information
Class: AsyncResponse.Channels.SqlServer.SqlServerAsyncResponseWaiter<T>
Assembly: AsyncResponse.Channels.SqlServer
File(s): /home/runner/work/AsyncResponse/AsyncResponse/src/Channels/AsyncResponse.Channels.SqlServer/SqlServerAsyncResponseWaiter.cs
Line coverage
100%
Covered lines: 5
Uncovered lines: 0
Coverable lines: 5
Total lines: 13
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%
get_ResponseTask()100%11100%
DisposeAsync()100%11100%

File(s)

/home/runner/work/AsyncResponse/AsyncResponse/src/Channels/AsyncResponse.Channels.SqlServer/SqlServerAsyncResponseWaiter.cs

#LineLine coverage
 1namespace AsyncResponse.Channels.SqlServer;
 2
 3/// <inheritdoc cref="IAsyncResponseWaiter{T}"/>
 14internal sealed class SqlServerAsyncResponseWaiter<T>(
 15    Task<T> _responseTask,
 16    Func<ValueTask> _cleanupAsync) : IAsyncResponseWaiter<T> where T : IAsyncResponsePayload
 7{
 8    /// <inheritdoc />
 19    public Task<T> ResponseTask => _responseTask;
 10
 11    /// <summary>Releases resources held by this instance.</summary>
 112    public ValueTask DisposeAsync() => _cleanupAsync();
 13}