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