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
Why does resume halt unspecified system keys? #84
Comments
You'll need to explain why you want to partially suspend/resume. |
I have this config: {:proj/schedule [[1 :m some-task-fn]
[2 :m other-task-fn]]
:proj/data ["some" "long" "loading" "files"]} I update the config by changing the {:proj/schedule [[1 :m some-task-fn]
[3 :m other-task-fn]] ;; <- changed
:proj/data ["some" "long" "loading" "files"]}
So now I suspend and resume I need to use It makes sense that |
Manually choosing which keys to suspend/resume is not a use-case I want to support. It's more reliable to restart everything, and the suspend/resume system allows components with similar configurations to be reused. |
Thank you for the comment. |
What is the best approach when suspending/resuming only changed keys, leaving untouched the other unchanged keys.
Currently
resume
will halt unspecified keys:https://github.com/weavejester/integrant/blob/master/src/integrant/core.cljc#L469
Maybe I'm missing something behind the design decisions?
For the moment this is the approach that works for my use case:
Thanks!
The text was updated successfully, but these errors were encountered: