For extensions of base system like podman and btrfs: Started improving server abstractions to make it more extendable in order to support multiple implementations
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
namespace MoonlightServers.Daemon.ServerSys.Abstractions;
|
||||
|
||||
public interface IStatistics : IServerComponent
|
||||
{
|
||||
public IAsyncObservable<ServerStats> Stats { get; }
|
||||
|
||||
public Task SubscribeToRuntime();
|
||||
public Task SubscribeToInstallation();
|
||||
|
||||
public ServerStats[] GetStats(int count);
|
||||
}
|
||||
Reference in New Issue
Block a user