Skip to content
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

provider middleware #1

Open
tmkontra opened this issue Aug 10, 2023 · 0 comments
Open

provider middleware #1

tmkontra opened this issue Aug 10, 2023 · 0 comments

Comments

@tmkontra
Copy link
Owner

  • the provider module provides a framework which require each provider implementation module to only implement the handle_call for message sending
  • there is still code duplication for fetching the destination config, and returning the result (and dispatching metrics)
  • the duplication can be eliminated and the GenServer aspect totally abstracted by requiring providers to only implement a send_message callback, supplied with the fully parsed destination config
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

No branches or pull requests

1 participant