<PackageReference Include="Microsoft.ApplicationInsights" Version="2.22.0" />

Microsoft.ApplicationInsights.Extensibility.Implementation.TaskTimerInternal

Runs a task after a certain delay and log any error.
namespace Microsoft.ApplicationInsights.Extensibility.Implementation { internal class TaskTimerInternal : IDisposable { public static readonly TimeSpan InfiniteTimeSpan; public TimeSpan Delay { get; set; } public bool IsStarted { get; } public void Start(Func<Task> elapsed); public void Cancel(); public void Dispose(); public TaskTimerInternal(); } }