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

Update event system to use a subscriber registry #6

Open
2 of 8 tasks
oubiwann opened this issue Oct 1, 2017 · 0 comments
Open
2 of 8 tasks

Update event system to use a subscriber registry #6

oubiwann opened this issue Oct 1, 2017 · 0 comments
Labels
enhancement Improving something that alread exists

Comments

@oubiwann
Copy link
Member

oubiwann commented Oct 1, 2017

Tasks:

  • devise an appropriate mechanism for a global registry - going to use an in-memory db (see Add db component #13)
    • possibly a new :registry key on the event component with an associated data structure?
    • define an appropriate schema for the subscriber registry
    • needs to take into account topic(s), tag(s), and subscriber functions
    • identify the operations (functions) necessary to be called upon the registry
    • define the API and create the functions in the appropriate place
  • migrate the current, draft subscriber functionality to the new subscriber registry + API
  • utilize the newly-created API (above) for adding subscribers to the registry (this should be an action that is take upon event system initialization)
  • testing: ensure that upon addition, subscription functions are ready to use/be applied

Depends upon #13 - "Add db component"

@oubiwann oubiwann closed this as completed Oct 1, 2017
@oubiwann oubiwann reopened this Oct 1, 2017
@oubiwann oubiwann added this to the 0.5.0 milestone Dec 14, 2017
@oubiwann oubiwann added enhancement Improving something that alread exists and removed Hacktoberfest labels Dec 14, 2017
@oubiwann oubiwann removed this from the 0.5.0 milestone Feb 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improving something that alread exists
Projects
None yet
Development

No branches or pull requests

1 participant