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

Watch downloads #2

Merged
merged 4 commits into from
Sep 16, 2020
Merged

Conversation

Frando
Copy link
Contributor

@Frando Frando commented Aug 10, 2020

Companion PR to hypercore-protocol/hyperspace#5, see there for details.

@mafintosh
Copy link
Contributor

Nice! Instead of adding two new methods couldn’t we trigger this when a new download listener has been added?

@Frando
Copy link
Contributor Author

Frando commented Sep 7, 2020

@mafintosh I removed the two methods and now it just works by registering an event listener for the download event. Also rebased both this and the two companion PRs (in hyperspace and rpc) on top of master.

index.js Outdated Show resolved Hide resolved
index.js Outdated Show resolved Hide resolved
index.js Outdated Show resolved Hide resolved
index.js Outdated Show resolved Hide resolved
@mafintosh mafintosh merged commit aeba9eb into hypercore-protocol:master Sep 16, 2020
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