IPublisher interface
Namespace: Vitreous.Abstractions
Assembly: Vitreous.dll
Publishes notifications to all registered handlers using the configured fan-out strategy (default: sequential, fail-fast).
public interface IPublisherMethods
Section titled “Methods”Publish<TNotification>(TNotification, CancellationToken)
Section titled “ Publish<TNotification>(TNotification, CancellationToken)”Publishes a notification to all registered INotificationHandler<TNotification> instances.
ValueTask Publish<TNotification>(TNotification notification, CancellationToken ct = default) where TNotification : INotificationParameters
Section titled “Parameters”notification TNotification
Returns
Section titled “Returns”Type Parameters
Section titled “Type Parameters”TNotification