Nullify IRestartHandler

This commit is contained in:
Jordan Dominion
2023-11-23 18:46:08 -05:00
parent 68792b1cdf
commit 010c0e0778
@@ -2,8 +2,6 @@
using System.Threading;
using System.Threading.Tasks;
#nullable disable
namespace Tgstation.Server.Host.Core
{
/// <summary>
@@ -18,6 +16,6 @@ namespace Tgstation.Server.Host.Core
/// <param name="handlerMayDelayShutdownWithExtremelyLongRunningTasks">If <see langword="false"/> the <see cref="IRestartHandler"/> should aim to complete the <see cref="Task"/> returned from this function ASAP.</param>
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the operation.</param>
/// <returns>A <see cref="ValueTask"/> representing the running operation.</returns>
ValueTask HandleRestart(Version updateVersion, bool handlerMayDelayShutdownWithExtremelyLongRunningTasks, CancellationToken cancellationToken);
ValueTask HandleRestart(Version? updateVersion, bool handlerMayDelayShutdownWithExtremelyLongRunningTasks, CancellationToken cancellationToken);
}
}