Skip to main content
Table of Contents

Interface IEventStreamHashService

Namespace
Stratara.Abstractions.EventSourcing
Assembly
Stratara.Abstractions.dll

Computes per-entry hashes that link events in a stream into a tamper-evident chain. Driven by the EventStreamHashing worker; runs in batches over the not-yet-hashed tail of the event store.

public interface IEventStreamHashService
Extension Methods

Methods

HashEventsAsync(CancellationToken)

Process the next batch of unhashed events. Stops cleanly when there is nothing to do or when stoppingToken is signalled.

Task HashEventsAsync(CancellationToken stoppingToken = default)

Parameters

stoppingToken CancellationToken

Returns

Task