Files
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

21 lines
425 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
namespace HordeServer.Server
{
/// <summary>
/// Interface for the server lifetime service
/// </summary>
public interface ILifetimeService
{
/// <summary>
/// Returns true if the server is stopping
/// </summary>
bool IsStopping { get; }
/// <summary>
/// Gets an awaitable task for the server stopping
/// </summary>
Task StoppingTask { get; }
}
}