public ResultPublisher(IDomainResultStore resultStore, ITimeoutProvider timeoutProvider) { _resultStore = resultStore; // Allow twice the read time _timeout = (int)(timeoutProvider.Timeout * 2); }
public ResultAwaiter(IDomainResultStore resultStore, ITimeoutProvider timeoutProvider) { _resultStore = resultStore; _waitTimeout = timeoutProvider.Timeout; _logger.DebugFormat("Timeout is {0}", _waitTimeout); }