Interface IGovernanceEvidenceSubscription
- Namespace
- ReferenceApplication.Web.Governance
- Assembly
- ReferenceApplication.Web.dll
Represents one live governance evidence notification subscription.
public interface IGovernanceEvidenceSubscription : IAsyncDisposable
- Inherited Members
Methods
ReadAllAsync(CancellationToken)
Reads notifications until the caller cancels or disposes the subscription.
IAsyncEnumerable<GovernanceEvidenceNotification> ReadAllAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA token that ends the read.
Returns
- IAsyncEnumerable<GovernanceEvidenceNotification>
The live notifications.