Start operation implementation

This commit is contained in:
2025-10-23 18:15:25 +09:00
parent 0626ce0176
commit 608dcc2098
5 changed files with 97 additions and 3 deletions

View File

@ -0,0 +1,17 @@
namespace Hcs.WebApp.BackgroundServices
{
public class OperationExecutionService(OperationExecutionState state) : BackgroundService
{
private readonly OperationExecutionState state = state;
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
{
while (!stoppingToken.IsCancellationRequested)
{
await Task.Delay(10000, stoppingToken);
// TODO
}
}
}
}