public override async Task Execute(ProjectionScenario scenario) { _action(scenario.Session.Events); if (scenario.NextStep is ScenarioAssertion) { await scenario.Session.SaveChangesAsync(); await scenario.WaitForNonStaleData(); } }
public override Task Execute(ProjectionScenario scenario) { return(_check(scenario.Session)); }
public abstract Task Execute(ProjectionScenario scenario);