diff --git a/UniversalExtensions.cs b/UniversalExtensions.cs index bba406a..246c242 100644 --- a/UniversalExtensions.cs +++ b/UniversalExtensions.cs @@ -168,6 +168,12 @@ public static class UniversalExtensions + /// + /// Runs a long non-blocking delay, a work-around for Task.Delay only supporting Int32 + /// + /// A timespan of how long the delay should last + /// A cancellation token source to cancel the action + /// internal static async Task LongDelay(TimeSpan delay, CancellationTokenSource token) { var st = new Stopwatch();