Rename wait to get

This commit is contained in:
2025-11-16 11:53:23 +09:00
parent 010c2b5098
commit f007d4da19
11 changed files with 35 additions and 35 deletions

View File

@ -7,7 +7,7 @@ namespace Hcs.WebApp.BackgroundServices
public class CampaignManagementService(
CampaignManagementState campaignManagementState,
OperationExecutionState operationExecutionState,
ResultWaitState resultWaitState,
ResultGetState resultGetState,
ManagerFactory managerFactory,
IServiceScopeFactory scopeFactory) : BackgroundService
{
@ -17,7 +17,7 @@ namespace Hcs.WebApp.BackgroundServices
private readonly CampaignManagementState campaignManagementState = campaignManagementState;
private readonly OperationExecutionState operationExecutionState = operationExecutionState;
private readonly ResultWaitState resultWaitState = resultWaitState;
private readonly ResultGetState resultGetState = resultGetState;
private readonly ManagerFactory managerFactory = managerFactory;
private readonly IServiceScopeFactory scopeFactory = scopeFactory;
private readonly List<IManager> managers = [];
@ -75,7 +75,7 @@ namespace Hcs.WebApp.BackgroundServices
private async Task WaitForOtherStates()
{
while (!operationExecutionState.Ready || !resultWaitState.Ready)
while (!operationExecutionState.Ready || !resultGetState.Ready)
{
await Task.Delay(STATES_WAIT_TIME);
}