Table of Contents

Interface INotificationPublisher

Namespace
Mediarion
Assembly
Mediarion.dll

Decides how the handlers of one notification are run.

public interface INotificationPublisher

Remarks

The default runs them one after another and stops at the first failure, which is the behaviour that surprises nobody. Running them together is faster and changes what a failure means, so it is a choice rather than the default.

Methods

Publish(IReadOnlyList<NotificationHandlerExecutor>, object, CancellationToken)

Runs the handlers.