Interface INotificationHandler
Interface for a notification handler.
Namespace: Innovt.Notification.Core
Assembly: Innovt.Notification.Core.dll
Syntax
public interface INotificationHandler
Methods
| Edit this page View SourceSendAsync(NotificationMessage, CancellationToken)
Sends a notification message asynchronously.
Declaration
Task<dynamic> SendAsync(NotificationMessage message, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| NotificationMessage | message | The notification message to send. |
| CancellationToken | cancellationToken | The cancellation token. |
Returns
| Type | Description |
|---|---|
| Task<dynamic> | A task representing the asynchronous operation and returning a dynamic result. |