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

Handling MPSC Channels when consumer module is disabled #100

Open
fel115 opened this issue Oct 12, 2023 · 0 comments
Open

Handling MPSC Channels when consumer module is disabled #100

fel115 opened this issue Oct 12, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@fel115
Copy link
Collaborator

fel115 commented Oct 12, 2023

A feature to handle the MPSC channels if the consumer is not enabled.
Ideas

  1. Before sending through a channel check, if the receiving module is enabled.
    • How to handle modules that receive messages, but get shutdown by an error
      • update global config (modules need access to variable config)
      • use 2.
  2. If the receiving module is not enabled, create a loop that handles incoming messages of the module but doesn't do anything.
@fel115 fel115 added the enhancement New feature or request label Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant