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

Ability to register callback to recieve worker change events #91

Open
cohix opened this issue May 12, 2021 · 0 comments
Open

Ability to register callback to recieve worker change events #91

cohix opened this issue May 12, 2021 · 0 comments
Labels
core Related to the internals of Reactr such as the scheduler enhancement New feature or request

Comments

@cohix
Copy link
Contributor

cohix commented May 12, 2021

Currently, a Runnable includes the OnChange method which allows it to handle events such as adding new instances.

With the Superfunc concept, this method is no longer available, but in order for this to be viable for stateful Runnables, they need to be able to repond to these same events.

I propose that callbacks can be registered, either using traditional functions or via a Grav pod, to allow a callback to respond to these change events.

@cohix cohix added enhancement New feature or request core Related to the internals of Reactr such as the scheduler labels May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Related to the internals of Reactr such as the scheduler enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant