diff --git a/src/Tgstation.Server.Host/Core/IAsyncDelayer.cs b/src/Tgstation.Server.Host/Core/IAsyncDelayer.cs new file mode 100644 index 0000000000..ae0da1284d --- /dev/null +++ b/src/Tgstation.Server.Host/Core/IAsyncDelayer.cs @@ -0,0 +1,20 @@ +using System; +using System.Threading; +using System.Threading.Tasks; + +namespace Tgstation.Server.Host.Core +{ + /// + /// For waiting asynchronously + /// + interface IAsyncDelayer + { + /// + /// Create a that completes after a given + /// + /// The that must elapse + /// The for the operation + /// A representing the running operation + Task Delay(TimeSpan timeSpan, CancellationToken cancellationToken); + } +}