Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Missing ability to register new actions/events after a channel is created #3097

Closed
diego-G opened this issue Mar 18, 2019 · 1 comment
Closed

Comments

@diego-G
Copy link

diego-G commented Mar 18, 2019

Expected behavior

It doesn't exist the possibility to register/add new actions or events to a channel if this one was already created.

Actual behavior

Application state participates in the general channel as a single source of truth. It means modules dispatch its state, subscribe to changes & need the possibility to invoke to request the state. Then Application state needs the channel in 3 ways:

  • to receive dispatch actions
  • to publish information to passive subscribers
  • but also to offer its state in a reactive way through a getter

For reference: #3036

Which version(s) does this affect? (Environment, OS, etc...)

+1.6

@nazarhussain
Copy link
Contributor

Events/Actions are defined as part of module definition, not the channels. And what you are suggesting is to redefine module definition runtime, which should not happen in any case.

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

No branches or pull requests

3 participants