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

Should persistence be handled in the Result object? #10

Open
fmizzell opened this issue Oct 21, 2019 · 0 comments
Open

Should persistence be handled in the Result object? #10

fmizzell opened this issue Oct 21, 2019 · 0 comments

Comments

@fmizzell
Copy link
Contributor

In the FileFetcher we are not able to report progress because state storage is handled by the Job (The file fetcher), but the actual work is being done by other objects which have access to the Result object, but not the Job itself.

I still believe it is important for the job to have control over what and when things persist, but we need to somehow allow other processes objects to have a say also.

Maybe an event driven approach will work, in which the result object fire events that others can respond to?

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

No branches or pull requests

1 participant