public Task <bool> HandleUpdateFailedAsync(IReadStoreManager readStoreManager, IReadOnlyCollection <IDomainEvent> domainEvents, Exception exception, CancellationToken cancellationToken) { return(Task.FromResult(false)); }
public Task UpdateSucceededAsync( IReadStoreManager readStoreManager, IReadOnlyCollection <IDomainEvent> domainEvents, CancellationToken cancellationToken) { return(Tasks.Completed); }
public CommandBus( ILog log, IEventFlowConfiguration configuration, IEventStore eventStore, IDispatchToEventSubscribers dispatchToEventSubscribers, IReadStoreManager readStoreManager) { _log = log; _configuration = configuration; _eventStore = eventStore; _dispatchToEventSubscribers = dispatchToEventSubscribers; _readStoreManager = readStoreManager; }