public async Task HandleAsync(ReplayPublicEventsRequested signal) { ReplayPublicEvents_Job job = jobFactory.CreateJob(signal); JobExecutionStatus result = await jobRunner.ExecuteAsync(job).ConfigureAwait(false); logger.Debug(() => "Rebuild projection version {@cronus_projection_rebuild}", result); }
public ReplayPublicEvents_JobFactory(ReplayPublicEvents_Job job, IOptions <BoundedContext> boundedContext, CronusContext context) { this.job = job; this.context = context; this.boundedContext = boundedContext.Value; }