Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 public ReplayPublicEvents_JobFactory(ReplayPublicEvents_Job job, IOptions <BoundedContext> boundedContext, CronusContext context)
 {
     this.job            = job;
     this.context        = context;
     this.boundedContext = boundedContext.Value;
 }