stabilizaiton work - projects rework for maintenanceability and ui livening

This commit is contained in:
master
2026-02-03 23:40:04 +02:00
parent 074ce117ba
commit 557feefdc3
3305 changed files with 186813 additions and 107843 deletions

View File

@@ -0,0 +1,21 @@
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
namespace StellaOps.Provcache;
internal sealed class WriteBehindQueueHostedService : BackgroundService
{
private readonly IWriteBehindQueue _queue;
public WriteBehindQueueHostedService(IWriteBehindQueue queue)
{
_queue = queue ?? throw new ArgumentNullException(nameof(queue));
}
protected override Task ExecuteAsync(CancellationToken stoppingToken)
{
return _queue.RunAsync(stoppingToken);
}
}