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,8 +7,8 @@ namespace Hcs.WebApp.BackgroundServices.CampaignManagers
public class ExportPrivateRegistryElementsManager_15_7_0_1(
IServiceScopeFactory scopeFactory,
OperationExecutionState operationExecutionState,
ResultWaitState resultWaitState,
Campaign campaign) : ManagerBase(scopeFactory, operationExecutionState, resultWaitState, campaign)
ResultGetState resultGetState,
Campaign campaign) : ManagerBase(scopeFactory, operationExecutionState, resultGetState, campaign)
{
private enum Step
{
@ -97,14 +97,14 @@ namespace Hcs.WebApp.BackgroundServices.CampaignManagers
{
if (!string.IsNullOrEmpty(operation.MessageGuid))
{
resultWaitState.EnqueueOperation(operation);
resultGetState.EnqueueOperation(operation);
}
}
}
private async Task DoResultWaitStepAsync()
{
if (resultWaitState.HasCampaignOperation(campaign.Id)) return;
if (resultGetState.HasCampaignOperation(campaign.Id)) return;
DateTime endedAt = default;