<PackageReference Include="System.ServiceModel.Primitives" Version="8.0.0" />

System.ServiceModel.Channels.InterruptibleTimer

namespace System.ServiceModel.Channels { internal class InterruptibleTimer { public delegate Task AsyncWaitCallback (object state); public InterruptibleTimer(TimeSpan defaultInterval, WaitCallback callback, object state); public InterruptibleTimer(TimeSpan defaultInterval, AsyncWaitCallback callback, object state); public void Abort(); public bool Cancel(); public void Set(); public void Set(TimeSpan interval); public void SetIfNotSet(); } }