Constructor DiscoveryRunJournal
- Namespace
- MailFathom.Application.Discovery.Streaming
- Assembly
- MailFathom.Application.dll
DiscoveryRunJournal(DiscoveryRunId, UserId, IDiscoveryRunStore, ClientSignals, TimeProvider)
Initializes the journal of one run that has already been opened in the store.
public DiscoveryRunJournal(DiscoveryRunId id, UserId user, IDiscoveryRunStore store, ClientSignals signals, TimeProvider timeProvider)
Parameters
idDiscoveryRunIdThe identifier the run is addressed by.
userUserIdWhose mail the run reads, which is who may read what it writes and whose screens are told.
storeIDiscoveryRunStoreWhere the run's events are written.
signalsClientSignalsWhere the advance is announced, which is best effort and never the guarantee.
timeProviderTimeProviderStamps each write, which is what the retention windows are measured from.
Exceptions
- ArgumentNullException
Thrown when a required collaborator is null.