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

Refactor to represent download state using Flow #3

Closed
wants to merge 2 commits into from

Conversation

PrimoDev23
Copy link

Hey,
I just decided to give this a try, so feel free to apply that PR to your library.
This refactoring solves some issues like memory leaks that might occur when injecting an instance of Ketch.
Also I removed the DownloadManager as a state holder, since the user of the library should better take care of state handling and freeing resources.

This way the library also follows a more reactive approach.
Feel free to comment on it.

@khushpanchal
Copy link
Owner

Noted @PrimoDev23 thanks, I will check the PR and get back.

@khushpanchal
Copy link
Owner

@PrimoDev23 I have made the major update in Ketch with support of pause and resume functionality.
In this version made the database as single source of truth and changed complete approach making it more reliable, please checkout Version 2.0.0
https://github.com/khushpanchal/Ketch

Please feel free to check out, this version makes library more flexible with less client interactions.

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

Successfully merging this pull request may close these issues.

2 participants