Re-implemented server state machine. Cleaned up code
TODO: Handle trigger errors
This commit is contained in:
8
MoonlightServers.Daemon/Abstractions/Server.Notify.cs
Normal file
8
MoonlightServers.Daemon/Abstractions/Server.Notify.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
using MoonlightServers.Daemon.Enums;
|
||||
|
||||
namespace MoonlightServers.Daemon.Abstractions;
|
||||
|
||||
public partial class Server
|
||||
{
|
||||
public async Task NotifyContainerDied() => await StateMachine.FireAsync(ServerTrigger.NotifyContainerDied);
|
||||
}
|
||||
Reference in New Issue
Block a user