Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Add action listeners to decouple action configuration from invocation #316

Closed
vigyasharma opened this issue Jul 29, 2020 · 0 comments · Fixed by #295
Closed

Add action listeners to decouple action configuration from invocation #316

vigyasharma opened this issue Jul 29, 2020 · 0 comments · Fixed by #295
Assignees

Comments

@vigyasharma
Copy link
Contributor

Currently the Action interface in decision maker has an execute() method. The original idea being that publisher would just invoke execute on each action. However, different scenarios/systems can have different requirements for execute.

We want to decouple action and their execution. Create a listener interface which allows developers to create different ways of handling actions published by the Publisher. We register these listeners with the publisher, and each of them get invoked when an action is published.

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

Successfully merging a pull request may close this issue.

1 participant