INotificationHandler<TNotification> interface
Namespace: Vitreous.Abstractions
Assembly: Vitreous.dll
Handles a notification of type TNotification.
Multiple handlers may be registered for the same notification type.
public interface INotificationHandler<TNotification> where TNotification : INotificationType Parameters
Section titled “Type Parameters”TNotification
The notification type.
Methods
Section titled “Methods”Handle(TNotification, CancellationToken)
Section titled “ Handle(TNotification, CancellationToken)”Handles the given notification.
ValueTask Handle(TNotification notification, CancellationToken ct = default)Parameters
Section titled “Parameters”notification TNotification