Skip to content

Feature: add background processing for sending notifications #910

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

equuskk
Copy link

@equuskk equuskk commented Apr 2, 2025

Adding background notification processing via Channels

The purpose of the change

  • improving code maintainability
  • guaranteed asynchronous message processing
  • possibility to check the response from the server for success
  • get rid of multiple HttpClient creation

Changes

  • Implemented NotificationSenderService for asynchronous notification distribution
  • Added NotificationChannelService (based on System.Threading.Channels) to buffer notifications
  • Created NotificationsHostedService (based on BackgroundService) for queue handling
  • Some endpoints are labeled async due to service usage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant