< Summary

Information
Class: TeleFlow.Telegram.TelegramRawLongPollingBackoffOptions
Assembly: TeleFlow.Telegram.LongPolling
File(s): /_/src/TeleFlow.Telegram.LongPolling/TelegramRawLongPollingBackoffOptions.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.Telegram.LongPolling/TelegramRawLongPollingBackoffOptions.cs

#LineLine coverage
 1namespace TeleFlow.Telegram;
 2
 3public sealed class TelegramRawLongPollingBackoffOptions
 4{
 5    public bool Enabled { get; set; } = true;
 6
 407    public TimeSpan MinDelay { get; set; } = TimeSpan.FromSeconds(1);
 8
 409    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()