IRealTimeNotifier.cs 477 B

12345678910111213141516
  1. using System.Threading.Tasks;
  2. namespace Abp.Notifications
  3. {
  4. /// <summary>
  5. /// Interface to send real time notifications to users.
  6. /// </summary>
  7. public interface IRealTimeNotifier
  8. {
  9. /// <summary>
  10. /// This method tries to deliver real time notifications to specified users.
  11. /// If a user is not online, it should ignore him.
  12. /// </summary>
  13. Task SendNotificationsAsync(UserNotification[] userNotifications);
  14. }
  15. }