< Summary

Information
Class: TeleFlow.Telegram.TelegramBackoffOptions
Assembly: TeleFlow.Framework.LongPolling
File(s): /_/src/TeleFlow.Framework.LongPolling/TelegramBackoffOptions.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 14
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)

/_/src/TeleFlow.Framework.LongPolling/TelegramBackoffOptions.cs

#LineLine coverage
 1namespace TeleFlow.Telegram;
 2
 3public sealed class TelegramBackoffOptions
 4{
 5    public bool Enabled { get; set; } = true;
 6
 257    public TimeSpan MinDelay { get; set; } = TimeSpan.FromSeconds(1);
 8
 259    public TimeSpan MaxDelay { get; set; } = TimeSpan.FromSeconds(5);
 10
 11    public double Factor { get; set; } = 1.3;
 12
 13    public double Jitter { get; set; } = 0.1;
 14}

Methods/Properties

.ctor()