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

Information
Class: AsyncResponse.AsyncResponseOptions
Assembly: AsyncResponse.Core
File(s): /home/runner/work/AsyncResponse/AsyncResponse/src/AsyncResponse.Core/AsyncResponseOptions.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 19
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%

File(s)

/home/runner/work/AsyncResponse/AsyncResponse/src/AsyncResponse.Core/AsyncResponseOptions.cs

#LineLine coverage
 1namespace AsyncResponse;
 2
 3/// <summary>
 4/// Engine-level options for AsyncResponse, configured by <c>AddAsyncResponse()</c>. These apply
 5/// regardless of which channel, transport, or durable-flow store is registered. Component-specific
 6/// settings live on that component's own <c>With*</c> registration — see
 7/// <see cref="InMemoryAsyncResponseOptions"/> and the Redis channel package's <c>RedisAsyncResponseOptions</c>.
 8/// </summary>
 9public sealed class AsyncResponseOptions
 10{
 11    /// <summary>
 12    /// Settings for the built-in recovery-state watchdog, which runs by default and periodically
 13    /// scans the configured recovery store for flows that look stuck (persisted recovery state
 14    /// with no live waiter). Set <see cref="AsyncResponseWatchdogOptions.Enabled"/> to
 15    /// <c>false</c> to turn it off — for example in all but one host when several hosts share one
 16    /// durable store, to avoid duplicate scans and warnings.
 17    /// </summary>
 318    public AsyncResponseWatchdogOptions Watchdog { get; set; } = new();
 19}

Methods/Properties

.ctor()